[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: figure window size with handle graphics
From: |
Henry F. Mollet |
Subject: |
Re: figure window size with handle graphics |
Date: |
Sun, 29 Jul 2007 19:05:15 -0700 |
User-agent: |
Microsoft-Entourage/11.1.0.040913 |
I have the same problem with this as trying
to set the key (see separate post):
octave-2.9.13:20> __gnuplot_set__ size 0.5
octave-2.9.13:21> plot (x, sin(x),"3x").
Default color is blue, corresponding to "3".
Setting key or size works in gnuplot 4.2.0:
gnuplot> plot sin(x)
gnuplot> set key off
gnuplot> plot sin(x)
gnuplot> set key on
gnuplot> plot sin(x)
gnuplot> set size 0.5
gnuplot> plot sin(x)
According to News for Octave 3.0:
"It is no longer possible to mix Matlab-style plot commands with the old
(and now considered obsolete) style of plot commands (__gnuplot_set__,
etc.). You can do one or the other, but not both for the same plot."
I'm not sure if I'm mixing plot commands and that's why __gnuplot_set__ does
not work.
Henry
on 7/29/07 6:01 PM, Jonathan Stickel at address@hidden wrote:
> Peter Gustafson wrote:
>> Jonathan Stickel wrote:
>>> Is there a way to set the figure window size with the new handle
>>> graphics paradigm? It used to be as simple as
>>>
>>>> __gnuplot_set__ size 0.5
>>>
>>> but now those commands seem to be completely ignored if octave plotting
>>> commands are used. I really find setting the window size to be helpful
>>> in producing publication quality plots.
>>>
>>> Thanks,
>>> Jonathan
>>> _______________________________________________
>>> Help-octave mailing list
>>> address@hidden
>>> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>>>
>> Jonathan,
>>
>> I don't believe there is, as I looked into this a bit ago and didn't
>> find anything.
>>
>> I've considered modifying some of the code to create size as an axes or
>> figure property (and having it passed through to gnuplot).
>>
>> Alternatively, one could create and pass a size argument to the print
>> function. I've implemented this latter option locally for epslatex
>> only, and am happy with the result. I'm willing to share the patch,
>> however I haven't posted it because I think the actual implementation
>> should be discussed on the devel list. I'm sure there are many things I
>> haven't considered yet.
>>
>> Good luck,
>> Pete
>>
>
> Pete
>
> I hope you don't mind me cc'ing back to the list. I am also cc'ing the
> maintainer's list in a hope to generate some discussion.
>
> I noticed that I can use the -F:SIZE option with the print command to
> help with the relative font to figure size. However, it would still be
> nice to specify the figure size itself since some publishers can be
> picky about this.
>
> Jonathan
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave