[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to increase line width?
From: |
Joe Koski |
Subject: |
Re: how to increase line width? |
Date: |
Wed, 01 Feb 2006 09:53:44 -0700 |
User-agent: |
Microsoft-Entourage/11.2.1.051004 |
John,
To use Grace Plot, it must me installed. There is an easy to install version
of Grace Plot on the Apple web site,
http://www.apple.com/downloads/macosx/math_science/grace.html
It requires X11, and has a learning curve before it is useful. Grace plot
does create good publication quality plots with much more interactive
control than gnuplot.
Joe
on 1/31/06 9:50 PM, John B. Thoo at address@hidden wrote:
> Hi, Claudio. Thanks for your suggestions. However, I find that
>
> octave:1> toggle_grace_use
> error: `toggle_grace_use' undefined near line 1 column 1
>
> I also find that
>
> octave:1> x = linspace (0, 10, 101) ' ;
> octave:2> plot (sin (x))
> octave:3> hold on
> octave:4> plot (cos (x))
> octave:5> __gnuplot_raw__ ('replot ''''notitle with lines lw 4\n')
> error: `__gnuplot_raw__' undefined near line 5 column 1
>
> I think that I have to upgrade Octave to a later version as Joe had
> recommended.
>
> Cheers.
> ---John.
>
>
> On Jan 31, 2006, at 3:46 AM, Claudio Belotti wrote:
>
>> John B. Thoo ha scritto:
>>> Hello. To piggy back on this thread, I would like to plot
>>>
>>> x=-4:0.1:4;
>>> hold on
>>> plot (x, x.^2, "-r")
>>> plot (x, 0.75 * ((2 .* x).^2).^(1 / 3) + 0.5, "-k")
>>>
>>> with a heavier line width for the second graph only. How do I do
>>> this?
>>> It wasn't clear to me from the description below.
>>
>> my choice would be to set
>> toggle_grace_use
>> before plotting and then edit the plot from grace,
>>
>> You can also do
>> x = linspace(0,10,101) ' ;
>> plot(sin(x))
>> hold on
>> plot(cos(x))
>> __gnuplot_raw__ ('replot ''''notitle with lines lw 4\n')
>>
>> although I don't really understand the ''''
>>
>> see also:
>> http://wiki.octave.org/wiki.pl?action=browse&diff=1&id=CategoryFAQ
>> http://wiki.octave.org/wiki.pl?CategoryPlotting
>>
>> ciao
>> Claudio
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Re: how to increase line width?,
Joe Koski <=