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

Home » Public Forums » archive » Re: Cannot see anything in the postscript file. Any help?
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: Cannot see anything in the postscript file. Any help? [message #79702] Wed, 28 March 2012 09:59 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Yemmy writes:

> Now I am going through the write up to try and understand what all the CGS routines do, but just one quick question: I am already using the cgContour and it is working well, but I dont know how to use the Map_object keyword. Do I need to have an image of the map already in my computer?

Here is an article that shows how to put a contour
plot on a map projection using direct graphics,
Coyote Graphics, and function graphics. The Coyote
Graphics example shows you how to use the map object
to set up the map data coordinate system.

http://www.idlcoyote.com/cg_tips/compcont.php

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.")
Re: Cannot see anything in the postscript file. Any help? [message #79715 is a reply to message #79702] Tue, 27 March 2012 09:51 Go to previous messageGo to next message
Yemmy is currently offline  Yemmy
Messages: 3
Registered: March 2012
Junior Member
Thanks David.

Now I am going through the write up to try and understand what all the CGS routines do, but just one quick question: I am already using the cgContour and it is working well, but I dont know how to use the Map_object keyword. Do I need to have an image of the map already in my computer?

Yemi

On Tuesday, March 27, 2012 1:18:38 AM UTC-4, David Fanning wrote:
> Yemmy writes:
>
>> I am relatively still new in the IDL community and I most
>> often get lost when I encounter problems. In most cases,
>> coyote guide/webpage has really helped alot.
>> I have been seeing this strange feature whenever
>> I use contour procedure or plot procedure: the
>> postscript file will just become blank or sometimes
>> create the axis but not the data inside or even
>> sometime would not open at all. I have instead been
>> using plot function and I just forget about it for
>> a while, but now I have to make a contour and when
>> I use a contour function, I encountered yet another
>> problem which make me want to call for help.
>
> I think the short answer to your problem is to just
> use Coyote Graphics routines. These are designed to
> work identically on your display and in a PostScript
> file, and getting color right is the fundamental
> purpose of the routines. Many of these problems will
> just disappear if you use them.
>
> http://www.idlcoyote.com/graphics_tips/coyote_graphics.php
>
> Or, if you want to continue to use normal IDL routines,
> but you want to understand why you are having problems
> with them, I have an entire book devoted to nothing but
> this topic. :-)
>
> http://www.idlcoyote.com/books/index.php
>
> 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.")
Re: Cannot see anything in the postscript file. Any help? [message #79731 is a reply to message #79715] Mon, 26 March 2012 22:18 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Yemmy writes:

> I am relatively still new in the IDL community and I most
> often get lost when I encounter problems. In most cases,
> coyote guide/webpage has really helped alot.
> I have been seeing this strange feature whenever
> I use contour procedure or plot procedure: the
> postscript file will just become blank or sometimes
> create the axis but not the data inside or even
> sometime would not open at all. I have instead been
> using plot function and I just forget about it for
> a while, but now I have to make a contour and when
> I use a contour function, I encountered yet another
> problem which make me want to call for help.

I think the short answer to your problem is to just
use Coyote Graphics routines. These are designed to
work identically on your display and in a PostScript
file, and getting color right is the fundamental
purpose of the routines. Many of these problems will
just disappear if you use them.

http://www.idlcoyote.com/graphics_tips/coyote_graphics.php

Or, if you want to continue to use normal IDL routines,
but you want to understand why you are having problems
with them, I have an entire book devoted to nothing but
this topic. :-)

http://www.idlcoyote.com/books/index.php

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.")
Re: Cannot see anything in the postscript file. Any help? [message #79789 is a reply to message #79702] Fri, 30 March 2012 07:40 Go to previous message
Yemmy is currently offline  Yemmy
Messages: 3
Registered: March 2012
Junior Member
Thanks David.

On Wednesday, March 28, 2012 12:59:38 PM UTC-4, David Fanning wrote:
> Yemmy writes:
>
>> Now I am going through the write up to try and understand what all the CGS routines do, but just one quick question: I am already using the cgContour and it is working well, but I dont know how to use the Map_object keyword. Do I need to have an image of the map already in my computer?
>
> Here is an article that shows how to put a contour
> plot on a map projection using direct graphics,
> Coyote Graphics, and function graphics. The Coyote
> Graphics example shows you how to use the map object
> to set up the map data coordinate system.
>
> http://www.idlcoyote.com/cg_tips/compcont.php
>
> 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: comp.lang.idl-pvwave
Next Topic: Re: CG Elevation image + arbitrary discrete colorbar

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

Current Time: Wed Oct 08 13:42:44 PDT 2025

Total time taken to generate the page: 0.00581 seconds