Re: Teaching an Elephant to Dance [message #77595 is a reply to message #77594] |
Mon, 12 September 2011 07:52  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
David Fanning wrote:
> Folks,
>
> Because what I assumed was impossible has turned out to be
> possible, and because I don't want others to struggle
> for three days in frustration, Coyote and I have
> decided to share the secret of how to produce a simple
> contour plot using the IDL 8.1 function graphics
> commands. (The alternative, of course, would be to try to
> get rich by writing the only IDL 8.1 graphics documentation
> worth a damn, but the audience seems small to us.)
>
> You can find the article here:
>
> http://www.idlcoyote.com/ng_tips/elephant.php
the final NG contour plot is clearly inferior to the DG/CG original. the final label orientation (all horiz rather than
following the contour) is laughable. And the fact that the default is to stick in some of the labels upside-down (your
4th ng plot) even more so.
what i don't get is that ittvis has the code/algorithms to do this correctly (i.e. in their dg graphics codebase). why
aren't they using that? maybe it's just too hard to keep track of varying label orientations amongst the 10,000 or so
object and pointer references created when ng is invoked?
oh well.
|
|
|