Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1052
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: congruence of cbtics and colorbox |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2012-04-17 09:00 -0700 |
| Organization | gnuplot development team |
| Message-ID | <jmk438$qfa$1@dont-email.me> (permalink) |
| References | <493dc892-9a1c-4bcb-ac1f-85f1c633ae5f@f5g2000vby.googlegroups.com> |
Followups directed to: comp.graphics.apps.gnuplot
ervson wrote:
> Hi,
> I'm trying to plot some data with pm3d. Now I've got a problem with
> the congruence of the cbtics and the colorbox.
> I want the cbtics to be drawn exactly at the boundary between the
> different colored areas, but the tics are not drawn congruent to the
> colored areas.
What do you mean "exactly at the boundary"?
When I try your test script here, I see the corresponding tic placed
exactly at the start (1st pixel) of each color segment. If that's
not what you get, please tell us the terminal type and gnuplot version.
Perhaps it is an old bug that is now fixed.
If it bothers you that the tic is "in" one color block rather than
straddling two, perhaps you be happier with a tic mark that spans
the entire colorbox. Try
set cbtics scale 10. (or some other suitably large size)
> The data i use is always within the interval I'm interested in, but
> not always evenly spread within the interval.
>
> These are the relevant lines (I think):
>
> set palette defined (0 "black",0.01 "black",0.01 "dark-grey",0.02
> "dark-grey",0.02 "light-grey",0.03 "light-grey")
> set cbrange [0:0.03]
> set cbtics ("0" 0.00, "10" 0.01, "20" 0.02, "30" 0.03)
>
> Has anybody an idea how i can get rid of my problem?
>
> Thank you for your help!
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
congruence of cbtics and colorbox ervson <notoriouservesen@googlemail.com> - 2012-04-17 06:29 -0700
Re: congruence of cbtics and colorbox sfeam <sfeam@users.sourceforge.net> - 2012-04-17 09:00 -0700
Re: congruence of cbtics and colorbox ervson <notoriouservesen@googlemail.com> - 2012-04-19 08:35 -0700
Re: congruence of cbtics and colorbox ervson <notoriouservesen@googlemail.com> - 2012-05-03 04:32 -0700
csiph-web