Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
saving as jpeg GUI

Subject: saving as jpeg GUI

From: nman2084

Date: 27 Jun, 2011 21:39:06

Message: 1 of 1

I am not getting entire plot surf plot and color bar, i only get part of the figure (not entire axis) and there is no color bar in the jpeg file when i do this command.

fileName = inputdlg('Enter the name for the figure to be saved');
saveas(gca,fileName{1},'jpg');

I used also this but same result:
fileName = inputdlg('Enter the name for the figure to be saved');
saveas(gcf,fileName{1},'jpg');

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us