I saved a Simplot figure as jpg. When I open the jpg file, axis are shown but there are no plots. What could be wrong?

I saved a Simplot figure as jpg. When I open the jpg file, axis are shown but there are no plots. What could be wrong?

 Akzeptierte Antwort

Hi Harmohan,
It would help if you could give more information. Have you tried a simple plot command like this one? Does that work?
plot(rand(10))
saveas(gcf, 'myPlot.jpeg', 'jpeg');
- Abhishek

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by