Layout of HyperGraph bar charts
Hello,
I am using HyperGraph 2024.1 to plot a bar chart of the modal effective mass from a modal analysis. I am working with the HGEFFMASS option in the OUTPUT card of OptiStruct to generate the data.
However, I am having difficulty formatting the resulting bar chart. Specifically, I cannot find a way to:
- Change the font size of the x-axis values (which represent the natural frequencies).
- Display an x-axis value for every natural frequency. There doesn't seem to be a "ticks per axis" option or similar for this axis.
Could you please advise on how to:
- Display all frequencies on the x-axis?
- Change the font size of the x-axis values?
(I don't have any difficulties to perform these tasks on the y-axis.)
Thank you for your time and assistance.
Kind regards,
Oliver
Best Answer
-
Hello @Oliver Zintz ,
We do not have an interactive option for bar chart to change the tic font settings for X axis, but it could be achieved through Tcl commands.
hwi GetActiveClientHandle plt
plt GetHorizontalAxisHandle hb 1
hb GetTicsFontHandle ft
ft SetSize 15
hb SetTicMethod "peraxis"
Does that help?
Best Regards,
Michael
1
Answers
-
Hello @Oliver Zintz ,
We do not have an interactive option for bar chart to change the tic font settings for X axis, but it could be achieved through Tcl commands.
hwi GetActiveClientHandle plt
plt GetHorizontalAxisHandle hb 1
hb GetTicsFontHandle ft
ft SetSize 15
hb SetTicMethod "peraxis"
Does that help?
Best Regards,
Michael
1 -
1