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

Home » Public Forums » archive » Re: Export values from plot window
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: Export values from plot window [message #56198 is a reply to message #56197] Tue, 16 October 2007 01:40 Go to previous messageGo to previous message
vijay is currently offline  vijay
Messages: 10
Registered: March 2007
Junior Member
On Oct 16, 12:03 am, Conor <cmanc...@gmail.com> wrote:
> On Oct 15, 4:59 am, vijay <vijayans...@gmail.com> wrote:
>
>> Hi all, i had plotted an image for two bands (plot,red,green). From
>> the plot window can i able to
>> store the minimum and maximum values to a variable. I also want to
>> write those two values to an ASCII file, can i able to do that?
>
> Sure!! Just do this:
>
> print,max(green)
> print,min(green)
>
> then, open a text editor, type in the values you see on the screen,
> and save it to a file!
>
> Hmm... I suppose you'd rather do the whole thing in IDL... In that
> case, try this:
>
> minpt = min(green)
> maxpt = max(green)
>
> openw,lun,'filename',/get_lun
> printf,lun,minpt,maxpt
> close,lun
> free_lun,lun


Hi, from plot window i want to choose random points by using the
cursor and i want to export it and store it in a variable and also as
a ascii file( i dont need the x and y coordinates values but i need
the original values ie DN of the corresponding image).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: hist_2d, variable bin size
Next Topic: How to read file to fill an array "partially" ?

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

Current Time: Fri Oct 10 23:56:36 PDT 2025

Total time taken to generate the page: 0.31956 seconds