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

Home » Public Forums » archive » Re: how to do that?
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: how to do that? [message #35103 is a reply to message #35102] Tue, 13 May 2003 08:38 Go to previous messageGo to previous message
tomson is currently offline  tomson
Messages: 39
Registered: March 2003
Member
That's good. Thank you.

The original figure is in PS form not JPG. But how to read PS figure to IDL,
I donot find: read_ps,'test.ps'??


"David Fanning" <david@dfanning.com> д����Ϣ����
:MPG.192a952cadaf2197989b8f@news.frii.com...
> tomson (tom2959@21cn.com) writes:
>
>> Hi,I want to analyze a JPG figure. I hope the figure can be put in a
plot,
>> like this:
>>
>> plot,[0,1],[0,1],xrange=[0,1],yrange=[0,1],/nodata
>> READ_JPEG, 'test.jpg', a
>> ;I want to put the image in the above plot just fill the rectangle.
How
>> to do that?
>> ;Then I want to add other on the plot...
>> oplot,x,y
>
> With TVIMAGE you would do it like this:
>
> p=[0.15, 0.15, 0.9, 0.9]
> TVImage, a, Position=p
> Plot, [0,1],[0,1],xrange=[0,1],yrange=[0,1],/nodata, $
> /NoErase, Position=p
> Oplot, x, y
>
> With Liam Gumley's ImgDisp you just set the AXIS keyword,
> I think.
>
> You can find TVIMAGE here:
>
> http://www.dfanning.com/programs/tvimage.pro
>
> Cheers,
>
> David
>
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: satellite data
Next Topic: Re: FINDFILE - how many files can it find?

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

Current Time: Fri Oct 10 05:42:57 PDT 2025

Total time taken to generate the page: 0.00614 seconds