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

Home » Public Forums » archive » Updated Display
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
Updated Display [message #32859] Tue, 12 November 2002 16:19 Go to next message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Hello,
For those using Display (I know there are a few brave souls out there
judjing by those couple dozen downloads), there is an update available.
Aside from bug fixes, the update includes two new main keywords:
ALL - applying properties such as LINK or ROI_COLOR to all of the
displayed DISPLAYs,
MP_FIT - for fitting one of the named displayed plots with a function of
your choice using MPFIT library, available from Craig's site. The fit
plot appears in DISPLAY window together with the original data, and can
be saved, printed, etc. Resulting fit coefficients are exported as a
keyword parameter.
Syntax is provided in the header, and I will be updating the html web
page... soon.
http://www.ainaco.com/idl/idl_library/display.pro
Hope this is useful.
Thank you,
Pavel
Re: Updated Display [message #32899 is a reply to message #32859] Fri, 15 November 2002 10:19 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Ok, I have added another keyword:

WIPE - used with a ROI to delete points from a displayed plot. Execute
as follows:

IDL> display, findgen(100), sin(findgen(100)/10.)+randomu(1,100)/5, $
psym=4, linestyle=6, link=-1, name='ONE'

; WIPE will only work if LINK is < 0 - safety feature.
; Now, use mid mouse button to surround a bunch of points in the window.
; Then, type:

IDL> display, /over, /wipe, name='Linked ONE'

and watch the points disappear :-)
Cheers,
Pavel
P.S. The observant ones will of course realize that once I have fitting
ability, it appeared that when I have all points displayed, the fits
looked bad, so WIPE is an easy way to leave only those points in that
produce a "correct" fit. This is of course NOT "massaging" the data :-)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: calling a function
Next Topic: Re: Problems getting CURVEFIT to work

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

Current Time: Wed Oct 08 15:16:00 PDT 2025

Total time taken to generate the page: 0.00618 seconds