|
From: Christian S. <csc...@uo...> - 2011-07-02 19:33:25
|
Thank you very much! However, I found that I also needed to add:
set cbrange [0:GPVAL_CB_MAX]
v_max did not appear unless that was there, too.
Thank you again!
Christian
----- Original Message -----
> plot twice, 1st time to e.g. the alphanumeric terminal. use the value
> of the variable 'GPVAL_CB_MAX' which is set during the 1st plot.
> then plot again:
>
> set output
> set term push
> set term dumb
> plot ...
> set cbtics ('$0$' 0, '$v_{\text{max}}$' GPVAL_CB_MAX)
> set term pop
> set output ...
> replot
>
>
> Christian Schroeder-7 wrote:
> >
> > Hi,
> >
> > Thanks for reading my post. I'm looking for some "how to" advice for
> > the
> > following context:
> >
> > I have an array of 64x64 data points that I'm plotting "with image",
> > in
> > color, using epslatex. I know that the smallest values in my data
> > are 0,
> > and that there are many of these "0" pixels. I do not, however, know
> > in
> > advance what my data set's maximum value is. I'd like to plot this
> > data
> > using the auto-generated color-box, but in a relative fashion,
> > without
> > actually ascribing particular values to particular colors. In fact,
> > I'd
> > only like to have two cbtics: one at zero and one at the maximum
> > value of
> > the data set. Right now, for example, I'm using the following
> > command:
> >
> > set cbtics ('$0$' 0, '$v_{\text{max}}$' 2.405e4)
> >
> > where "2.405e4" is the maximum value of one particular data point -
> > the
> > largest value of all the data points - that I had to look up in the
> > data
> > set in advance. This value will, of course, be different for another
> > data
> > set, meaning I'd have to look it up again each time I plot a
> > different
> > data set.
> >
> > Is there any way that I can get gnuplot to put my "v_max" color-box
> > label
> > at the (unknown in advance) maximum value of my data set? The more
> > painful
> > way for me to approach this problem is to normalize my data, a step
> > I'd
> > prefer not to have to take. If there's a really obvious answer to
> > this, I
> > apologize for asking the question; however, I did spend some time
> > looking
> > around to no avail!
> >
> > Thanks again for your time!
> >
> > Christian
> >
> > ------------------------------------------------------------------------------
> > All of the data generated in your IT infrastructure is seriously
> > valuable.
> > Why? It contains a definitive record of application performance,
> > security
> > threats, fraudulent activity, and more. Splunk takes this data and
> > makes
> > sense of it. IT sense. And common sense.
> > http://p.sf.net/sfu/splunk-d2d-c2
> > _______________________________________________
> > gnuplot-info mailing list
> > gnu...@li...
> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Question-regarding-placement-of-cbtics-tp31980544p31980741.html
> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously
> valuable.
> Why? It contains a definitive record of application performance,
> security
> threats, fraudulent activity, and more. Splunk takes this data and
> makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
--
__________________________________________________
Christian B. K. Schroeder, MSc, PPhys (Physics)
PhD Candidate, Dynamic MRI Microscopy (DOI: 10.1103/PhysRevLett.106.046001)
University of Guelph Department of Physics "Yes; I can do that."
Stone Road
Guelph ON N1G 2W1
CANADA
Fax: (519)836-9967
|