Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: set format y "%2.0t{/Symbol \327}10^{%L}" with a concrect value Followup-To: comp.graphics.apps.gnuplot Date: Thu, 29 Sep 2011 10:11:03 -0700 Organization: gnuplot development team Lines: 19 Message-ID: References: <687980b5-b4fe-416e-ad57-4295dc21029f@u13g2000vbx.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: Thu, 29 Sep 2011 17:11:04 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="8350"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NVglM7bCIie4p23fd7FLV" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:00ZJxI2Q17Z/npy5eJmNjD0CLDQ= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:612 juan miguel wrote: > thanks, it works when is a axis, but when is a colorbar, the 0 is > togheter with 0*10^0, and i want only the 0 > > this is what i use for the cb (and does not work) > > set cbrange [-0.001:+0.001] > set format cb "%2.0t{/Symbol \327}10^{%L}" > set cbtic -0.001,0.0005,0.001 > set cbtic add ("0" 0) That's a bug or missing feature. The check for user-specified tick labels overriding automatic labels is only made in the 2D code. So the trick you show doesn't work in 3D plots, even for the "set view map" pseudo-2D orientation. The only work-around I can think of is to manually specify all 5 labels on the colorbar.