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?

 채택된 답변

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by