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 #56188] Tue, 16 October 2007 09:50 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> 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).

You might want to study the example draw_widget_data.pro in the
examples/doc/widgets subdirectory of the IDL distribution.

It does what you want... basically you read the X;Y coordinates of the
cursor, transform that to row;colum coordinates, then read the data
underneath. You can easily add this data to an existing variable, and
when you are done, simply save your variable or print it in a file,
using the method in Conor's message.

Jean
[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: Sat Oct 11 10:23:01 PDT 2025

Total time taken to generate the page: 3.27767 seconds