prettyplot

Prettier line plots with markers.
986 descargas
Actualizado 13 abr 2010

Ver licencia

PRETTYPLOT works just like PLOT, but avoids the line and markers being on top of each other. Instead, the line joins the markers without touching them.

Example
figure('position',[200,200,800,600])
hold on
set(gca,'xlim',[-3.2,3.2],'ylim',[-3,3])
x = -pi:pi/10:pi;
y = tan(sin(x)) - sin(tan(x));
h = prettyplot(x,y,'-+b',x,2*cos(x),'-xr','LineWidth',2,'MarkerSize',8);
h = [h;prettyplot(x,randn(size(x)),'-o','LineWidth',1,'MarkerSize',6,'color',[0,0.8,0])];
legend(h(1:2:end),'demo','cos','randn');

Citar como

Cris Luengo (2024). prettyplot (https://www.mathworks.com/matlabcentral/fileexchange/27237-prettyplot), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Startup and Shutdown en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0