[Top][All Lists]

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

Re: how to increase line width?

From: John B. Thoo
Subject: Re: how to increase line width?
Date: Mon, 30 Jan 2006 18:56:06 -0800

Hello.  To piggy back on this thread, I would like to plot

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.

I'm using Octave 2.1.46 in X11 on Mac OS X 10.3.9. (I'm sure this is an older version of Octave. I plan to upgrade it when I upgrade the OS to Tiger during spring break in a few months.)


Best regards,

On Jan 30, 2006, at 6:33 AM, Claudio Belotti wrote:

I assume you want to change linewidth when you plot to a file

if you use octave + gnuplot
octave:1> x = rand(10,1);
octave:2> plot(x)
octave:3> __gnuplot_set__ terminal postscript lw 5
octave:4> __gnuplot_set__ output ""
octave:5> replot

another possibility is to use grace

octave:1> toggle_grace_use
Use Grace: on
octave:2> x = rand(10,1);
octave:3> plot(x)

this is a nice way to edit a single plot (colors,width,labels etc.) in a
very accurate way (e.g. for a publication)


on 30/01/2006 11:12 address@hidden wrote:
Dear ladies and gentlemen!
I want to increase the line width while using the plot command.
I tried e.g: plot(data, 'LineWidth',2).
But it does not work.
I want to increase also the label size an axis-width.
Can anybody help me?

Thank you very much


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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