Re: cgtext and resizeable graphics window [message #75160] |
Fri, 18 February 2011 12:15 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
wlandsman writes:
> I ran into a strange problem with cgtext. The two line program below works fine if I don't plot to a resizeable graphics window. but if I run
>
> IDL> test,/window
>
> the orient=90 keyword seems to be ignored.
>
>
> pro test,window=window
> cgplot,indgen(10),window=window
> cgtext,1,1,'This should be vertical',orient=90,window=window
> return
> end
Whoops! Same problem as this morning. In cgTEXT, line 175,
when calling cgWINDOW, the _REF_EXTRA=extra call *has* be set to
_EXTRA=extra. Otherwise, extra keywords cannot be recognized
by CALL_PROCEDURE.
I've made the change here, and I'll check the rest of my
routines to be sure I've found it everywhere. Update later
today, with new programmable ability to make raster files
from cgWindow, complements of Jeremy, who had this done
in about 15 minutes!
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|