MATLAB: 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

graphicsMATLABsimplot

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?

Best 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