[Paraview] Colour bar and scale missaligned
Burlen Loring
bloring at lbl.gov
Mon Jul 15 14:31:08 EDT 2013
Hi Bob,
I can share the collection of gimp/bash scripts but I have to warn you
they're more than a little rough around the edges as these were
originally only intended for my use. YMMV! https://github.com/burlen/SciGIMP
here's how you'd use my "sq-axes" script to add the scale onto the body
of the LUT I saved from PV(attached).
f=lut-for-curl-ue.png; sq-axes.sh $f axes-$f 0.0045 0.163 7 11 1 0 1 0
11 1 0.05 1.0 0.03 0.6 3 12 b ff "|\xE2\x88\x87\xE2\xA8\xAFUe|" "" 26 b
ff "" 16 b ff; display axes-$f
I've never tested it but in theory it should work in windows (from
cygwin shell) too.
Burlen
On 07/15/2013 09:10 AM, Bob Flandard wrote:
> Thanks Burlen,
>
> I'll try the nightly build (if that's what 'git pull' is?). Your
> scalar bar does indeed look just right; would you be willing to share
> the script code? I've noticed another ugly quirk with the new default
> scalar bar, the number format applies to all values except the limits,
> so there seems to be no way of suppressing a limit value from being
> displayed as 0.10000000000001 (for example).
>
> Regards,
>
> Bob
>
> ------------------------------------------------------------------------
> Date: Mon, 15 Jul 2013 08:22:36 -0700
> From: bloring at lbl.gov
> To: flandard at hotmail.com
> CC: paraview at paraview.org
> Subject: Re: [Paraview] Colour bar and scale missaligned
>
> I just tried to replicate on a recent git pull and I was not able to.
> It may be fixed. but I'd like to confirm that the scalar bar widget
> has been a bit flaky lately.
>
> One thing I'd like to point out about your screen shot is the use of
> too many different font sizes in the lables. Your examples only has 2
> sizes, but I've seen examples with 3. This makes the color bar
> unusable for me. I end up generating my own in a post processing step
> for this reason.
>
> it would be really nice to have a simple nice looking scalar bar for
> plots. A single font size is a key feature. Also I like to see all of
> the labels on one side, and evenly spaced. The logic for deciding on
> which side of the widget seems to be easily confused and I've seen
> some crazy looking results.
>
> Simple is better. Here is an example(made by my post processing
> script) of how this looks
>
>
>
>
>
> On 07/14/2013 03:00 AM, Bob Flandard wrote:
>
> Hello,
>
> I'm using 4.0.1 64 bit on Windows 7. When I limit the number of
> discrete contours there is a misalignment of the scale and the
> colours in the colour bar. I've attached a plot and a state file
> that demonstrate the issue; a simple plane coloured by
> x-coordinate with the colour bar aligned above the plane to show
> the missalignment.
>
> Is this an issue with my specific set up (graphics drivers ...) or
> do others see it too?
>
> Thanks for your time,
>
> Bob
>
>
> _______________________________________________
> Powered bywww.kitware.com <http://www.kitware.com>
>
> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130715/64888cb1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4547 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130715/64888cb1/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lut-for-curl-ue.png
Type: image/png
Size: 481 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130715/64888cb1/attachment-0003.png>
More information about the ParaView
mailing list