Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1052

Re: congruence of cbtics and colorbox

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
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 Tue, 17 Apr 2012 09:00:38 -0700
Organization gnuplot development team
Lines 34
Message-ID <jmk438$qfa$1@dont-email.me> (permalink)
References <493dc892-9a1c-4bcb-ac1f-85f1c633ae5f@f5g2000vby.googlegroups.com>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Tue, 17 Apr 2012 16:00:40 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="27114"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19EZE6FvxA3H8JsUHd9uRZX"
User-Agent KNode/4.4.9
Cancel-Lock sha1:ldnD1GUs/Xpl/UmtllYRPjlHI3A=
Xref csiph.com comp.graphics.apps.gnuplot:1052

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar


Thread

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