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

Home » Public Forums » archive » How to save an iTools procedure?
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 save an iTools procedure? [message #59614 is a reply to message #59542] Tue, 01 April 2008 19:54 Go to previous messageGo to previous message
duxiyu@gmail.com is currently offline  duxiyu@gmail.com
Messages: 88
Registered: March 2007
Member
Yes.
All I want is to save the data and visualizations into a file.
I have read the iTool user guide.
It seems that the .isv file can meet my requirement.

But there are always some errors about the .isv file.
For example:
u=fltarr(50,50)
a=randomn(seed,50)
for i=0,49 do u[i,i]=a[i]

v=fltarr(50,50)
b=randomn(seed,50)
for i=0,49 do v[i,i]=b[i]

x=findgen(50)*2*!pi/50.
y=sin(x)

ivector,u,v,x,y

Then insert a plot visualization using x and y in the iTool window.
At last save the isv file for this iTool.
But this isv file cannot be opend by IDL, some errors occor when I
double-click it.
When I only use the iplot, there is no problem.
As soon as the iVector visualization is used, such-and-such errors of
isv file occor.

Du


On Apr 1, 11:11 pm, Chris Torrence <gorth...@gmail.com> wrote:
> Hi Du,
>
> It sounds like you want to save the actual state of your iTool,
> including the data and visualizations. If you use David & Vince's
> methods, you are actually saving the IDL code that creates the iTool,
> but not the actual iTool state. I don't think that's what you want.
>
> You *should* be able to simply save into a .isv file, and that should
> save all of the data and visualizations needed for that particular
> iTool.
>
> Can you give an example of either data or properties that are not
> getting saved? If so, that would be a bug, and we could fix it.
>
> -Chris
> ITTVIS
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to create a new folder by IDL
Next Topic: Curl, Gradient and Divergence

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

Current Time: Wed Oct 08 17:38:23 PDT 2025

Total time taken to generate the page: 0.00493 seconds