Signal processing: Change plot font.
parent
44bf348ee5
commit
64230540c7
|
|
@ -714,17 +714,17 @@ class SignalProcessingTab(QWidget):
|
||||||
self.axis_profile_tail.set_yscale('log')
|
self.axis_profile_tail.set_yscale('log')
|
||||||
self.axis_profile_tail.tick_params(axis='both', labelsize=8)
|
self.axis_profile_tail.tick_params(axis='both', labelsize=8)
|
||||||
self.axis_profile_tail.text(.98, .03, "Depth (m)",
|
self.axis_profile_tail.text(.98, .03, "Depth (m)",
|
||||||
fontsize=8, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.9,
|
fontsize=8, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.9,
|
||||||
horizontalalignment='right', verticalalignment='bottom', rotation='horizontal',
|
horizontalalignment='right', verticalalignment='bottom', rotation='horizontal',
|
||||||
transform=self.axis_profile_tail.transAxes)
|
transform=self.axis_profile_tail.transAxes)
|
||||||
self.axis_profile_tail.text(.1, .45, "BS signal (v)",
|
self.axis_profile_tail.text(.1, .45, "BS signal (v)",
|
||||||
fontsize=8, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.9,
|
fontsize=8, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.9,
|
||||||
horizontalalignment='right', verticalalignment='bottom', rotation='vertical',
|
horizontalalignment='right', verticalalignment='bottom', rotation='vertical',
|
||||||
transform=self.axis_profile_tail.transAxes)
|
transform=self.axis_profile_tail.transAxes)
|
||||||
self.axis_profile_tail.text(.98, .85,
|
self.axis_profile_tail.text(.98, .85,
|
||||||
stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][
|
stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][
|
||||||
self.combobox_freq_noise_from_profile_tail.currentIndex()],
|
self.combobox_freq_noise_from_profile_tail.currentIndex()],
|
||||||
fontsize=10, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.5,
|
fontsize=10, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.5,
|
||||||
horizontalalignment='right', verticalalignment='bottom',
|
horizontalalignment='right', verticalalignment='bottom',
|
||||||
transform=self.axis_profile_tail.transAxes)
|
transform=self.axis_profile_tail.transAxes)
|
||||||
|
|
||||||
|
|
@ -1237,7 +1237,7 @@ class SignalProcessingTab(QWidget):
|
||||||
|
|
||||||
|
|
||||||
self.axis_SNR[f].text(1, .70, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][f],
|
self.axis_SNR[f].text(1, .70, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][f],
|
||||||
fontsize=14, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.5,
|
fontsize=14, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.5,
|
||||||
horizontalalignment='right', verticalalignment='bottom',
|
horizontalalignment='right', verticalalignment='bottom',
|
||||||
transform=self.axis_SNR[f].transAxes)
|
transform=self.axis_SNR[f].transAxes)
|
||||||
|
|
||||||
|
|
@ -1508,7 +1508,7 @@ class SignalProcessingTab(QWidget):
|
||||||
cmap='viridis', norm=LogNorm(vmin=val_min, vmax=val_max))
|
cmap='viridis', norm=LogNorm(vmin=val_min, vmax=val_max))
|
||||||
|
|
||||||
self.axis_BS[f].text(1, .70, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][f],
|
self.axis_BS[f].text(1, .70, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][f],
|
||||||
fontsize=14, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.5,
|
fontsize=14, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.5,
|
||||||
horizontalalignment='right', verticalalignment='bottom',
|
horizontalalignment='right', verticalalignment='bottom',
|
||||||
transform=self.axis_BS[f].transAxes)
|
transform=self.axis_BS[f].transAxes)
|
||||||
|
|
||||||
|
|
@ -1871,7 +1871,7 @@ class SignalProcessingTab(QWidget):
|
||||||
self.axis_profile.text(
|
self.axis_profile.text(
|
||||||
.95, .05, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][
|
.95, .05, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][
|
||||||
self.combobox_frequency_profile.currentIndex()],
|
self.combobox_frequency_profile.currentIndex()],
|
||||||
fontsize=10, fontweight='bold', fontname="Ubuntu",
|
fontsize=10, fontweight='bold', fontname="DejaVu Sans",
|
||||||
fontstyle="normal", c="black", alpha=0.2,
|
fontstyle="normal", c="black", alpha=0.2,
|
||||||
horizontalalignment='right', verticalalignment='bottom',
|
horizontalalignment='right', verticalalignment='bottom',
|
||||||
transform=self.axis_profile.transAxes)
|
transform=self.axis_profile.transAxes)
|
||||||
|
|
@ -2089,7 +2089,7 @@ class SignalProcessingTab(QWidget):
|
||||||
self.axis_profile.text(
|
self.axis_profile.text(
|
||||||
.95, .05, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][
|
.95, .05, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][
|
||||||
self.combobox_frequency_profile.currentIndex()],
|
self.combobox_frequency_profile.currentIndex()],
|
||||||
fontsize=10, fontweight='bold', fontname="Ubuntu",
|
fontsize=10, fontweight='bold', fontname="DejaVu Sans",
|
||||||
fontstyle="normal", c="black", alpha=0.2,
|
fontstyle="normal", c="black", alpha=0.2,
|
||||||
horizontalalignment='right', verticalalignment='bottom',
|
horizontalalignment='right', verticalalignment='bottom',
|
||||||
transform=self.axis_profile.transAxes)
|
transform=self.axis_profile.transAxes)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue