comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Shift label positions in contour plots?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Shift label positions in contour plots? [message #68160 is a reply to message #68159] Wed, 30 September 2009 10:33 Go to previous messageGo to previous message
Charles[1] is currently offline  Charles[1]
Messages: 2
Registered: September 2009
Junior Member
Thanks, David -- I didn't realize it was a nontrivial problem. I came
up with an inelegant solution that will save time (in the short
term). I can budge the labels a bit by making strings with extra
spaces:

labeltext=' 0.'+STRTRIM(indgen(10),2)+' '

Then I explicitly use those strings as the contour labels:

contour, z0, x, y, c_annotation=labeltext ...

Because of the spaces, there are now slight gaps in the contours but
on the whole it's an improvement.

Chaz
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: HDF_EOS: writing attributes to a file
Next Topic: Accessing to Hershey Vector Font Samples

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:42:23 PDT 2025

Total time taken to generate the page: 2.07921 seconds