prettyplot

Prettier line plots with markers.
1K download
Aggiornato 13 apr 2010

Visualizza la licenza

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');

Cita come

Cris Luengo (2026). prettyplot (https://it.mathworks.com/matlabcentral/fileexchange/27237-prettyplot), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2009b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Startup and Shutdown in Help Center e MATLAB Answers
Versione Pubblicato Note della release
1.0.0.0