2 file 3D splot with different palettes or points possible?

View: New views
3 Messages — Rating Filter:   Alert me  

2 file 3D splot with different palettes or points possible?

by Joost Kraaijeveld :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I want to combine the contents of 2 files in 1 3-d plot.

The following command does almost what I want:

splot './data/file1.txt' using 2:3:4:1 , \
'./data/file2.txt' using 2:3:4:1

But this will create a plot where each file differs just in the
dot-marker ( '+' for the first file, 'x' for the second file). This
gives a poor plot, given the number of dots.

Is it possible to change the point to a singe dot and use a different
palette for each file? If so, what should be the exact syntax as all my
attempts to change the global palette an/or point type failed miserably.

TIA

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

Parent Message unknown Re: 2 file 3D splot with different palettes or points possible?

by Joost Kraaijeveld :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-10-20 at 15:42 +0530, Rajarshi Tiwari wrote:
> Yes,
> splot './data/file1.txt' using 2:3:4:1 with linespoints linetype 1
> pointtype 1 linecolor 1, \
> './data/file2.txt' using 2:3:4:1 with linespoints linetype 1 pointtype
> 1 linecolor 1

This does not do the trick.


> Will create plot with identical style, which you can change by tunning
> the parameters.
> By the way, how come you have 4 columns (2:3:4:1) for splot?

The last column will be used by the palette to determine the colour of
the dot in the graph.


--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

Re: 2 file 3D splot with different palettes or points possible?

by Thomas Sefzick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

let the two data sets use separate regions of the palette:

splot './data/file1.txt' using 2:3:4:1 with points pointtype 1, \
'./data/file2.txt' using 2:3:4:($1+max_z_value_of_first_data_set) with points pointtype 1

Joost Kraaijeveld wrote:
On Tue, 2009-10-20 at 15:42 +0530, Rajarshi Tiwari wrote:
> Yes,
> splot './data/file1.txt' using 2:3:4:1 with linespoints linetype 1
> pointtype 1 linecolor 1, \
> './data/file2.txt' using 2:3:4:1 with linespoints linetype 1 pointtype
> 1 linecolor 1

This does not do the trick.


> Will create plot with identical style, which you can change by tunning
> the parameters.
> By the way, how come you have 4 columns (2:3:4:1) for splot?

The last column will be used by the palette to determine the colour of
the dot in the graph.


--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info