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

Home » Public Forums » archive » Shift label positions in contour plots?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Shift label positions in contour plots? [message #68163] Wed, 30 September 2009 07:51
Charles[1] is currently offline  Charles[1]
Messages: 2
Registered: September 2009
Junior Member
Hello All - I hope someone can help...

Using "contour", I've made a contour plot with 3 sets of contours.
I've got them with no fills and each has a different line style. I've
labeled the contour levels, so the value of each contour appears along
the curves in a couple of places:

contour, z0, x, y, levels=findgen(10)/10d, c_labels=findgen(10),
c_charsize=1, ,c_line=0
contour, z1, x, y, levels=findgen(10)/10d, c_labels=findgen(10),
c_charsize=1, ,c_line=1, /overplot
contour, z2, x, y, levels=findgen(10)/10d, c_labels=findgen(10),
c_charsize=1, ,c_line=2, /overplot

A sample of the plot is here: http://bit.ly/12e1Y7

My problem is that the labels overlap with each other in several
places. If the contour sets were similar enough, I would just label
one set and imply that each label applied to all of the nearest
curves. But each contour set is different, so I need a label on every
contour. I'd prefer not to decrease the font size very much.

My question is - it is possible to shift the positions of the labels
along the contours using "contour" or some other routine?

Thanks for any tips,
Charles
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Slow GUI on linux
Next Topic: HDF_EOS: writing attributes to a file

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

Current Time: Wed Oct 08 19:33:31 PDT 2025

Total time taken to generate the page: 0.00462 seconds