Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > Re: 2D color g...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 9 Topic 3541 of 3637
Post > Topic >>

Re: 2D color graph (z size as a color)

by sfeam <sfeam@[EMAIL PROTECTED] > Oct 10, 2008 at 11:30 AM

1sezgins@[EMAIL PROTECTED]
 wrote:

> Is there any possibility to draw a 2D color graph by using z as a
> color scale.

Yes, in recent versions of gnuplot (newer than 4.2.2) you can color
by z value in 2D plots.  Current version is 4.2.4
You do not need to use the pm3d commands for this.

        
    

> With the code which I pasted below, it is possible. But my problem is
> that; it connects between 2 point because of pm3d features. Is it
> possible to disable it and make every value separately just a point?
> Thanks to who reply :-)
> Sezgin
> 
> set border 4095 front linetype -1 linewidth 1.000
> set view map
> set samples 50, 50
> set isosamples 50, 50
> unset surface
> set style data pm3d
> set style function pm3d
> set ticslevel 0
> set title "colour map,"
> set xlabel "x"
> set xrange [ 0.0000 : 50.0000 ] noreverse nowriteback
> set ylabel "y"
> set yrange [ 0.0000 : 50.0000 ] noreverse nowriteback
> set zrange [ 0.0000 : 100.00000 ] noreverse nowriteback
> set pm3d implicit at b
> splot "asciidata.dat"
> 
> Data
> # X   Y    Z
> 1     49      2
> 2     48      4
> 3     47      1
> 4     46      8
> 5     45      10
> 6     44      12
> 7     43      14
> 8     42      20
> 9     41      18
> 10    40      20
> 11    39      22
> 12    38      24
> 13    37      70
> 14    36      28
> 47    3       1
> 46    4       8
> 45    5       10
> 44    6       12
> 43    7       14
> 42    8       20
> 
> 41    9       18
> 40  1 2      0
> 39  1 2       2
> 38  1         24
> 37  1         70
 




 9 Posts in Topic:
2D color graph (z size as a color)
1sezgins@[EMAIL PROTECTED  2008-10-10 07:38:40 
Re: 2D color graph (z size as a color)
sfeam <sfeam@[EMAIL PR  2008-10-10 11:30:15 
Re: 2D color graph (z size as a color)
sezgin <1sezgins@[EMAI  2008-10-13 23:51:09 
Re: 2D color graph (z size as a color)
sfeam <sfeam@[EMAIL PR  2008-10-14 10:19:51 
Re: 2D color graph (z size as a color)
sezgin <1sezgins@[EMAI  2008-10-14 23:53:10 
Re: 2D color graph (z size as a color)
sfeam <sfeam@[EMAIL PR  2008-10-15 11:57:34 
Re: 2D color graph (z size as a color)
Petr Mikulik <mikulik@  2008-10-15 07:39:32 
Re: 2D color graph (z size as a color)
Petr Mikulik <mikulik@  2008-10-15 20:25:14 
Re: 2D color graph (z size as a color)
sezgin <1sezgins@[EMAI  2008-10-27 05:47:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:17:06 CST 2008.