set bigge fonts for label, axis values and legend
Hi, ihave to plots, 1 for |s1j| and another for phase different between ports 2 and 3.
I need to have a bigger font for axis labels, values, legend, and line width.
May you help to find the correct instruction?
I have attached the related code to adjust.
###############################################################################
# Create Boundaries
# -----------------
# A region with openings is needed to run the analysis.
hfss.create_open_region(Frequency="6.5GHz")
hfss.modeler.fit_all()
setup = hfss.create_setup("MySetup")
setup.props["Frequency"] = "6.5GHz"
setup.props["MaximumPasses"] = 20
hfss.create_linear_count_sweep(
setupname=setup.name,
unit="GHz",
freqstart=5,
freqstop=8,
num_of_freq_points=451,
sweepname="sweep",
sweep_type="Interpolating",
interpolation_tol=3,
interpolation_max_solutions=50,
save_fields=False,
)
hfss.analyze_setup("MySetup")
traces = hfss.get_traces_for_plot(True,True,first_element_filter="1*",category="S")
solutions = hfss.post.get_solution_data(traces)
solutions.plot(traces, math_formula="db20")
solutions = hfss.post.get_solution_data("ang_deg(St(1_T1,2_T1))-ang_deg(St(1_T1,3_T1)) ")
Graph=solutions.plot(size=(8000,4000),xlabel='Freq[GHz]',ylabel='Phase diff.(S12,S13)',title='phase matching port 2 and 3' )
my_plot = hfss.plot(show=False, plot_air_objects=False)
my_plot.show_axes = False
my_plot.show_grid = False
my_plot.isometric_view = True
- my_plot.plot(os.path.join(hfss.working_directory, "Image.jpg"),)