From: Sukumar reddy on 2 Aug 2010 03:43 Hi friends, Can anybody tell, how to export plotted graphs files directly to PNG file with out GUI at all.
From: Oliver Woodford on 2 Aug 2010 05:34 "Sukumar reddy" <gootysukumar34(a)gmail.com> wrote in message <i35su8$dn5$1(a)fred.mathworks.com>... > Hi friends, > Can anybody tell, how to export plotted graphs files directly to PNG file with out GUI at all. doc saveas doc print
From: Sukumar reddy on 2 Aug 2010 06:56 I am getting following error [sukumarreddy(a)mcl35 ~]$ matlab -nodisplay <tmp.m < M A T L A B (R) > Copyright 1984-2008 The MathWorks, Inc. Version 7.6.0.324 (R2008a) February 10, 2008 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. >> >> >> ??? Error using ==> doc at 28 The doc command is not supported because Java is not currently available. "Oliver Woodford" <o.j.woodford.98(a)cantab.net> wrote in message <i363ec$6pp$1(a)fred.mathworks.com>... > "Sukumar reddy" <gootysukumar34(a)gmail.com> wrote in message <i35su8$dn5$1(a)fred.mathworks.com>... > > Hi friends, > > Can anybody tell, how to export plotted graphs files directly to PNG file with out GUI at all. > > doc saveas > doc print
From: Joshua Arnott on 2 Aug 2010 07:28 "Sukumar reddy" <gootysukumar34(a)gmail.com> wrote in message <i36887$6pe$1(a)fred.mathworks.com>... > I am getting following error > > [sukumarreddy(a)mcl35 ~]$ matlab -nodisplay <tmp.m > > < M A T L A B (R) > > Copyright 1984-2008 The MathWorks, Inc. > Version 7.6.0.324 (R2008a) > February 10, 2008 > > > To get started, type one of these: helpwin, helpdesk, or demo. > For product information, visit www.mathworks.com. > > >> >> >> ??? Error using ==> doc at 28 > The doc command is not supported because Java is not currently available. > > > "Oliver Woodford" <o.j.woodford.98(a)cantab.net> wrote in message <i363ec$6pp$1(a)fred.mathworks.com>... > > "Sukumar reddy" <gootysukumar34(a)gmail.com> wrote in message <i35su8$dn5$1(a)fred.mathworks.com>... > > > Hi friends, > > > Can anybody tell, how to export plotted graphs files directly to PNG file with out GUI at all. > > > > doc saveas > > doc print help saveas help print An example: $ matlab -nodisplay >> figure() >> plot(rand(100,1)) >> print(gcf(),'-dpng','example.png') Josh.
From: ImageAnalyst on 2 Aug 2010 10:39
On Aug 2, 5:34 am, "Oliver Woodford" <o.j.woodford...(a)cantab.net> wrote: > doc saveas > doc print ---------------------------------------------------- Looks like Oliver is being humble. Why don't you go ahead and try his very popular export_fig: http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig |