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?

 Accepted Answer

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

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!