On 5/24/07, olleorama <oll...@gm...> wrote:
>
>
> Hi there!
>
> Urgent problem! I have datavalues (y) in a multicolumn file 'xxx.yyy'
> column
> 2, and the x-values in column 3. I want to make profiles with the y-axis
> negative, i.e. y=3D-y, but my main problem is how to assign the values fr=
om
> column 3 as the x values.
to assign the 3rd column as x and 2nd column for y:
plot 'xxx.yyy' using 3:2
see help using and help plot.
If I use plot 'xxx.yyy' using 3,2 I only get the data values plotted agains=
t
> a dummy vector and a solid line on y=3D2, which isn't what I want. And if=
I
> use "plot 'xxx.yyy' using 3, using 2" or "plot 'xxx.yyy' using
> 3, 'xxx,yyy'
> using 2" I get either errors or multiplot figures, which isn't what I
> want.
>
> So how to assign a column to the x-values, and how to make the y-axis
> negative. Anybody?
I don't know if I'm understanding exactly what you want to do, but to plot =
a
column as -y, then:
plot 'xxx.yyy' using 3:(-$2)
again, see help using and help plot.
Bye!
Hern=E1n
I must be really thick but I can't get this working here. And the most
> annoying thing is that I did the exact same thing last week!
> --
> View this message in context:
> http://www.nabble.com/Urgent-help%21-tf3809056.html#a10780544
> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Gnuplot-info mailing list
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
--=20
---------------------------------------------
Mg. Hern=E1n Gonzalo Asorey
Instituto Balseiro - CAB
(8400) San Carlos de Bariloche
R=EDo Negro - Rep. Argentina
---------------------------------------------
cabtep5.cnea.gov.ar/~asoreyh/
|