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

Home » Public Forums » archive » Re: cgPlot question
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: cgPlot question [message #75076 is a reply to message #75074] Tue, 15 February 2011 12:53 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gray writes:

> oploterror is a wrapper for oploterr from the NASA astronomy IDL
> library. I'll try what you wrote when I get home.

OK, well, this works for me, too, then:

x = indgen(101)
y = cgDemoData(1)
errors = randomu(-3L, 101)*4
cgPlot, x, y
oploterror, x, y, errors, errcolor=cgcolor('black')

> More questions! I have ImageMagick installed. When I run convert -
> version from my normal bash command line, it works fine, but PS_END
> can't find it. Help?

PS_END spawns the "convert" command to check for its presence.
If it can't find it, I presume it is because the "convert" command
is not on the path of the shell running IDL. Macintosh computers
are a bit of a mystery to me, so if you have a suggestion for how
I can solve this problem, I'm all ears.

Someone suggested a configuration parameter that could locate
ImageMagick. Maybe I'll look into that a bit.

> Also, PS_START seems to be ignoring my xsize and ysize keywords; the
> following gives me an 8.5x11 ps output:
>
> IDL> ps_start, /nomatch, xsize=10., ysize=10., /
> inches,filename=filts[filt]+'_'+dn+'.ps'

Humm. That might be a PSConfig limitation. I'll look into it
and get back to you.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Problem using IDLBridge with virtual machine
Next Topic: Using Label_Region in 3 dimensions

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

Current Time: Wed Oct 08 20:01:48 PDT 2025

Total time taken to generate the page: 0.04527 seconds