How to make high quality, 'publishable' plots

698 visualizaciones (últimos 30 días)
A
A el 27 de Feb. de 2016
Comentada: atharva aalok el 30 de Jul. de 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 comentario
Adam Wyatt
Adam Wyatt el 4 de Nov. de 2020
Editada: Adam Wyatt el 4 de Nov. de 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).

Iniciar sesión para comentar.

Respuestas (2)

Ron
Ron el 28 de Feb. de 2016

atharva aalok
atharva aalok el 17 de Oct. de 2021
Editada: atharva aalok el 17 de Oct. de 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 comentarios
fyp
fyp el 23 de Jul. de 2022
Thank you
atharva aalok
atharva aalok el 30 de Jul. de 2022
Thanks a lot guys!
Disclaimer: I am the author of the above toolbox. Be careful ;)

Iniciar sesión para comentar.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by