Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #530 > unrolled thread

Question on cntrrparam and splot

Started byOlaf Schultz <o.schultz@enhydralutris.de>
First post2011-08-11 21:44 +0200
Last post2011-08-14 21:24 +0200
Articles 3 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Question on cntrrparam and splot Olaf Schultz <o.schultz@enhydralutris.de> - 2011-08-11 21:44 +0200
    Re: Question on cntrrparam and splot Gavin Buxton <gavinbuxton@gmail.com> - 2011-08-12 04:02 -0700
      Re: Question on cntrrparam and splot Olaf Schultz <o.schultz@enhydralutris.de> - 2011-08-14 21:24 +0200

#530 — Question on cntrrparam and splot

FromOlaf Schultz <o.schultz@enhydralutris.de>
Date2011-08-11 21:44 +0200
SubjectQuestion on cntrrparam and splot
Message-ID<9aipokFcr5U1@mid.individual.net>
Moin moin,

I have here several data files (gridded data, ASCII) on which i use
normally splot together with pm3d... so far so good:-)

e.g.

www.enhydralutris.de/Fahrrad/Goniometer/Bilder/gox20051120_50m.html

What I want to do now: scale the data so, that they are normalized (to
slightly above one) and plot only contours at two levels (0.2 and 1) and
no pm3d... so far, so easy

set cntrparam levels 0.2,1

but with several files... in one plot i get for each file a set of
legend with different colors...for ten or so files it will confuse a
little bit the viewer:-(

How to mark them, that they can be  differentiated like in

plot "filea" u 1:2 title "example1, "fileb" u 1:2 t "example b"

?

One color per plotted file will be enough.

Preprocessing the splot-data to find the contours, that they can be
dealed with plot?

Greetings,

Olaf

[toc] | [next] | [standalone]


#533

FromGavin Buxton <gavinbuxton@gmail.com>
Date2011-08-12 04:02 -0700
Message-ID<5c9b5ffa-6448-4279-9d15-0e99a8d9ad5c@w24g2000yqw.googlegroups.com>
In reply to#530
Hi Olaf

Have a look at setting your term to table. This will output your plot
as ascii data. You could plot your contours into a new data file, say
'table.dat', and then plot each index with whatever colors you need,
using

plot 'table.dat' i 0 w l lt 1 lc 1

for example. Gnuplot has come a long way from when I used to have to
modify the postcript file for this sort of thing!

Gavin


> One color per plotted file will be enough.
>
> Preprocessing the splot-data to find the contours, that they can be
> dealed with plot?
>
> Greetings,
>
> Olaf

[toc] | [prev] | [next] | [standalone]


#534

FromOlaf Schultz <o.schultz@enhydralutris.de>
Date2011-08-14 21:24 +0200
Message-ID<9aqlmqF2jfU1@mid.individual.net>
In reply to#533
Gavin Buxton wrote:
> Hi Olaf
> 
> Have a look at setting your term to table. This will output your plot
> as ascii data. You could plot your contours into a new data file, say
> 'table.dat', and then plot each index with whatever colors you need,
> using
> 
> plot 'table.dat' i 0 w l lt 1 lc 1
>

Thanks...that's a suiteable work around. It works.

> for example. Gnuplot has come a long way from when I used to have to
> modify the postcript file for this sort of thing!

> Gavin
> 
> 
>> One color per plotted file will be enough.
>>
>> Preprocessing the splot-data to find the contours, that they can be
>> dealed with plot?
>>
>> Greetings,
>>
>> Olaf
> 


Gretings,

Olaf

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web