-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change font size and font style in plot_dispersion? #5
Comments
Hi, @BianTieyuan, currently, you can directly utilize the source code to plot the results and make any desired modifications. Should you encounter any difficulties in modifying the code, I am available to assist you. Alternatively, you can await the upcoming version, which will unveil a comprehensive user interface for customizing the details of Matplotlib. Numerous features have been prepared for integration in the next release, but verifying them necessitates time. However, my current schedule is occupied with other commitments, hence the release of the next version may be delayed. For font size and font style: change code fig, ax = set_figure(figsize=(10, 7.5), bottom=0.08, left=0.16, use_pltset=True, figdpi=150 ) to this: mp.pltset(**{'font.serif':'Times New Roman', 'font.size':10})
fig, ax = set_figure(figsize=(10, 7.5), bottom=0.08, left=0.16, figdpi=150 ) |
Thanks for your reply. @mushroomfire I extracted the data in Phon. dictionary and plot figure myself. The next version would be wonderful and I am looking forward your release. |
Hi, @BianTieyuan , try the newest version of mdapy. You can fully modify the details of the figure in plot_dispersion. See example in here. |
The new features worked well. Thanks for the enhancement. |
Hi developer,
I want to change line color, font size and font style in Phon.plot_dispersion. However I can only change line color via
fig, ax = system.Phon.plot_dispersion(color='green')
. I noticed that only few can be changed via this way:But how to change font size and font style?
The text was updated successfully, but these errors were encountered: