PLOTA

PLOTA plots each new plot using other color.

You are now following this Submission

PLOTA is the same as standard PLOT function, BUT it plots each new plot using other color ( making 'hold on' automatically and cycling through the colors in the order specified by the current axes ColorOrder property )

EXAMPLE:
figure;
plota(randn(1,100));
plota(randn(1,100));
plota(randn(1,100));
legend('First call to plota', 'Second call to plota', 'Third call to plota')

Cite As

Alex Bar-Guy (2026). PLOTA (https://www.mathworks.com/matlabcentral/fileexchange/8767-plota), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0