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

Home » Public Forums » archive » Question about XYOUTS routine
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
Question about XYOUTS routine [message #4828] Tue, 08 August 1995 00:00 Go to next message
szoonem is currently offline  szoonem
Messages: 16
Registered: June 1995
Junior Member
Hi;

Does any one know why setting !p.charsize has no effect on XYOUTS? It
works fine if I use charsize as keyword when XYOUTS is called directly. I
haven't checked on other system variables and/or routine combinations.

I use IDL 4.0 on a Macintosh but it is the same on 3.5.1 on VMS. It seems
to me that it defeats the purpose of having system variables if they are
used selectivly by different routines!

- Saeid

------------------------------------------------------------ -----
| Saeid Zoonematkermani | E-Mail: szoonem@astro.sunysb.edu |
| Earth and Space Sciences | Voice: (516)632-8237 |
| State University of New York | Fax: (516)632-8742 |
| Stony Brook, NY 11794-2100 | |
------------------------------------------------------------ -----
Re: Question about XYOUTS routine [message #4889 is a reply to message #4828] Sun, 13 August 1995 00:00 Go to previous message
lkramer is currently offline  lkramer
Messages: 5
Registered: July 1995
Junior Member
In article <szoonem-0808951002120001@ozone.ess.sunysb.edu> szoonem@astro.sunysb.edu (Saeid Zoonematkermani) writes:
> Path:
> uuneo.neosoft.com!news.uh.edu!swrinde!gatech!news.mathworks. com!newsfeed.interne
> tmci.com!news.sprintlink.net!news.cc.sunysb.edu!ozone.ess.su nysb.edu!user
> From: szoonem@astro.sunysb.edu (Saeid Zoonematkermani)
> Newsgroups: comp.lang.idl-pvwave
> Subject: Question about XYOUTS routine
> Date: Tue, 08 Aug 1995 10:02:12 -0500
> Organization: SUNY, Stony Brook
> Lines: 18
> Message-ID: <szoonem-0808951002120001@ozone.ess.sunysb.edu>
> NNTP-Posting-Host: ozone.ess.sunysb.edu


> Hi;

> Does any one know why setting !p.charsize has no effect on XYOUTS? It
> works fine if I use charsize as keyword when XYOUTS is called directly. I
> haven't checked on other system variables and/or routine combinations.

This is not a bug. XYOUTS has always behaved this way (ca: 1986). I
have been able to do what you want to do with code like the following:

IDL> plot,findgen(100)
IDL> xyouts,20,40,'HOWDY',charsize=!p.charsize

------------------------------------------------------------ ---------
Leonard Kramer, Ph.D. Physicist.
AGAR Corporation, (Process Measurement & Control)
POB 802127 Houston, TX 77280-2127
email: lkramer@neosoft.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to copy image to WIN clipboard?
Next Topic: Re: Astro library and IDL for PCs

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

Current Time: Wed Oct 08 15:51:55 PDT 2025

Total time taken to generate the page: 0.00470 seconds