Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

contour legend

8 views
Skip to first unread message

Ra

unread,
Sep 11, 2009, 5:37:10 PM9/11/09
to
hello,

I am plotting a contour plot from two different columns of a data set.

data set:

317.816 0.0 1.002 0.999
317.816 0.1 0.993 0.989
317.816 0.2 0.963 0.959
317.816 0.3 0.913 0.910
317.816 0.4 0.844 0.841
317.816 0.5 0.754 0.751

317.816 0.0 1.001 0.998
317.816 0.1 0.993 0.989
317.816 0.2 0.963 0.959
317.816 0.3 0.913 0.911
317.816 0.4 0.847 0.842
317.816 0.5 0.756 0.753

317.816 0.0 1.02 1.00
317.816 0.1 1.01 0.98
317.816 0.2 0.99 0.96
317.816 0.3 0.94 0.90
317.816 0.4 0.87 0.85
317.816 0.5 0.78 0.76


I am using the following command:

set contour
unset surface
set cntrparam levels incremental 0.75,0.04,1.06
splot 'mass-e-tau.out' u 1:2:3 w l lw 2 ti 'stable','mass-e-
tau.out' u 1:2:4 w l


Now I want the legend to show different values for third & fourth
columns. The 'set cntrparam' command assigns the same legend range
values for both the columns: How do I tell gnuplot that for column 3
in splot command display a different legend range than in column 4 ??

Thanks


Hans-Bernhard Bröker

unread,
Sep 11, 2009, 6:05:11 PM9/11/09
to
Ra wrote:

> Now I want the legend to show different values for third & fourth
> columns. The 'set cntrparam' command assigns the same legend range
> values for both the columns: How do I tell gnuplot that for column 3
> in splot command display a different legend range than in column 4 ??

By not saying you want something else. I.e. instead of 'levels
incremental', use 'levels auto'.

Ra

unread,
Sep 11, 2009, 6:15:46 PM9/11/09
to

>
> By not saying you want something else. I.e. instead of 'levels
> incremental', use 'levels auto'.
-----------------

Thanks....I did 'set cntrparam levels auto' and I still get the same
legend for both the columns.

Hans-Bernhard Bröker

unread,
Sep 12, 2009, 3:14:24 PM9/12/09
to

That's not terribly surprising --- they have practically the same data
ranges.

0 new messages