How to make high quality, 'publishable' plots

425 Ansichten (letzte 30 Tage)
A
A am 27 Feb. 2016
Kommentiert: atharva aalok am 30 Jul. 2022
Hi guys,
I am doing my best to make plots that are of really pleasant quality. I want plots to look contemporary, with high resolution, anti-aliasing, and other enhancements so they look very 'pretty'. I have the following test plot. Is there a way to improve this plot and make it more 'publishable'?
x = linspace(0,100);
y = @(x) log(x);
plot(x,y(x));
title('Test Title');
xlabel('X-Axis (unit)');
ylabel('Y-Axis (unit)');
Thanks
  1 Kommentar
Adam Wyatt
Adam Wyatt am 4 Nov. 2020
Bearbeitet: Adam Wyatt am 4 Nov. 2020
  • Increase the linewidth (2 or 3 is good).
  • Add a grid
  • Add minor ticks to the axes.
  • Plot as an area with solid line and semi-transparent fill.
  • Set the axes limits appropriately.
  • Add a legend.
  • Change the font and fontsize to match the output size.
  • Set the figure aspect ratio correctly.
  • Remove excess padding.
For example all the figures in https://doi.org/10.1364/OE.19.025355 were made in MATLAB (only the text inside figure 1 was added externally).

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Ron
Ron am 28 Feb. 2016

atharva aalok
atharva aalok am 17 Okt. 2021
Bearbeitet: atharva aalok am 17 Okt. 2021
Please refer the following Plotting Template:
The above is an easy to follow Beginner Friendly template.
The idea is to create Professional Standard Plots within seconds without a steep learning curve and with consistency.
It also offers a wide range of preset Color Codes (please refer the attached image for the Color Palatte)
Sample Plot:
Color Palatte:
  3 Kommentare
fyp
fyp am 23 Jul. 2022
Thank you
atharva aalok
atharva aalok am 30 Jul. 2022
Thanks a lot guys!
Disclaimer: I am the author of the above toolbox. Be careful ;)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by