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

Home » Public Forums » archive » Re: cgtext and resizeable graphics window
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
Re: cgtext and resizeable graphics window [message #75160] Fri, 18 February 2011 12:15
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: cgtext and resizeable graphics window
Next Topic: subverting IDL builtin variables !FORMYOWNPURPOSES

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

Current Time: Wed Oct 08 17:46:34 PDT 2025

Total time taken to generate the page: 0.00574 seconds