help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regarding saving figure


From: Ben Abbott
Subject: Re: regarding saving figure
Date: Tue, 12 Jul 2011 10:32:34 -0400

On Jul 12, 2011, at 10:19 AM, Andy Buckle wrote:

>>>> Hello,
>>>> 
>>>>  I have a problem with saving the figure, I am the new user of qt
>>>> octave.
>>>> Please help me for the same......
>>>> 
>>>> If i have the code for plotting
>>>> 
>>>> figure(10)
>>>> 
>>>> i=100;
>>>> 
>>>> h1=semilogy(t,y,'o')
>>>> 
>>>> hold on
>>>> 
>>>> h2=semilogy(t,f,'r')
>>>> 
>>>> set(gca,'Xtick',1:5:20);
>>>> 
>>>> set(gca,'FontSize',30,'Fontname','arial');
>>>> 
>>>> set(gca,'linewidth',2)
>>>> 
>>>> set(h1,'markersize',10);
>>>> 
>>>> set(h2,'linewidth',2,'linestyle','--');
>>>> 
>>>> but I dont know the exact command for saving in octave.....I think its
>>>> something save filename.eps or so???
>>>> 
>>>> what to use after plotting???
>>> 
>>> print filename.eps
>>> 
>>> --
>>> /* andy buckle */
>> 
>> thanks it saves the figure but it is in black and white?? could u please let
>> me know why?
>> 
>> --
>> preeti gaikwad
> 
> Please don't top-post.
> 
> I don't why your eps comes monochrome. I mostly use emf on windows,
> and these come out in colour. If you give more details (Octave
> version, where you obtained it, OS) then perhaps someone else on the
> list can help.


To get color either add "-color" or use the color eps device.

        print -color filename.eps

        print -depsc filename.eps

For more info, take a look at ...

        help print

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]