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

Home » Public Forums » archive » Function graphics axis range - how to get it consistently?
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: Function graphics axis range - how to get it consistently? [message #87870 is a reply to message #87868] Fri, 28 February 2014 10:34 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Oh my God, check this out:

I added print statements before and after the various plot/text calls
like so:

print, tp[0].YRANGE
c = PLOT( [date_time[idx[i]],date_time[idx[i]]], tp[0].YRANGE, $
XTICKFORMAT='LABEL_DATE', $
LINESTYLE='dashed', $
/OVERPLOT, $
BUFFER=buffer )
print, tp[0].YRANGE
t = TEXT( date_time[idx[i]], (tp[0].YRANGE)[1], $
comment[idx[i]], $
FONT_SIZE=7, $
/DATA, $
TARGET=tp[0], $
ALIGNMENT=0.5, $
VERTICAL_ALIGNMENT=1.0 )
print, tp[0].YRANGE


This is the output:

0.0000000 350.00000
0.0000000 400.00000
0.0000000 400.00000

So the PLOT() command uses the "busted" YRANGE property value, but doing
so "fixes" it.

WTF?

I give up.

On 02/28/14 13:18, David Fanning wrote:
> Paul van Delst writes:
>
>> To paraphrase Inigo Montoya, regarding the property YRANGE:
>> "You keep using that word. I do not think it means what you think it means."
>
> It has been one of those days. (Well, honestly, it has been one of those
> weeks.) I finally got a chance to take a shower a few minutes ago and I
> was thinking as the hot water splashed over me, that as long as I was
> asking philosophical questions that remain unanswered, here is another.
> When you say:
>
> "For the record, I use FG pretty much exclusively.
> I think they're great."
>
> Do you mean great from an "idea" perspective? Or do you mean great from
> a "practical" perspective? Because I find them to be a long, long way
> from "great". Sometimes I don't understand what reality I live in. Blame
> the ganja wafting over me from all quarters now, I guess. :-)

Albert Einstein — 'In theory, theory and practice are the same. In
practice, they are not.'

Grr argghh!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Orientation of Contour Labels
Next Topic: Mavericks: NG plots start out black

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

Current Time: Thu Oct 09 20:22:41 PDT 2025

Total time taken to generate the page: 1.43982 seconds