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 > Changing the li...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3380 of 3637
Post > Topic >>

Changing the linecolor depending on a data value?

by philkime <Philip@[EMAIL PROTECTED] > Jun 25, 2008 at 12:15 AM

I have a column of data which contains values from 0 to 6 which I want
to control the historgram bars - any ideas? I tried this

plot 'foo' using (($4 == 0) ? $2 ? NaN):xticlabels(1) linecolor
'somecolor',\
       ''  using (($4 == 1) ? $2 ? NaN):xticlabels(1) linecolor
'someothercolor'

but of course gnuplot sees these two clauses as seperate histogram bar
clusters which is not what I want at all ... there is only one dataset
but I want to color the bars depending on a data value in the fourth
column ...
 




 3 Posts in Topic:
Changing the linecolor depending on a data value?
philkime <Philip@[EMAI  2008-06-25 00:15:59 
Re: Changing the linecolor depending on a data value?
philkime <Philip@[EMAI  2008-06-25 17:11:35 
Re: Changing the linecolor depending on a data value?
Ben <benoit.bardet@[EM  2008-06-26 01:34: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 4:22:35 CST 2008.