EQV2 Name
EQV2 Purpose
Interactively plot a function on current plot.
Category
Calling Sequence
eqv2, file Inputs
file = equation file. in
Keyword Parameters
Keywords
COLOR=clr Plot color (def=!p.color).
TOP=top Returns widget ID of top level base.
Use widget_control to retrieve or store info structure.
OK=wid Given ID of widget to notify when OK button pressed.
If not given no OK button is displayed.
WID_OK=wid Widget ID of the OK button.
Can use to set /input_focus.
GROUP_LEADER=grp Set group leader.
Outputs
Common Blocks
eqv2_help_com
eqv2_help_com
Notes
Note: The QUIT button allows burning in the final curve and lists its
values. The LIST button lists the current curve parameters.
Equation file format: This file defines the equation, the x range
and range of each adjustable parameter. The file is a text file with
certain tags. Null and comment lines (* in first column) are allowed.
The tags are shown by an example:
eq: y = a + b*x + c*x^2
title: Parabola
xrange: -10 10
n_points: 100
par: a -50 50 0
par: b -50 50 0
par: c -10 10 1
The parameter tags are followed by 4 items: Parameter name (as in the
equation), min value, max value, initial value. An optional 5th item
may be the word int to force an integer value (for flags or harmonics).
Modification History
R. Sterner, 1998 Feb 24
R. Sterner, 1998 Apr 1 --- Added /NO_BLOCK to xmanager.
R. Sterner, 1998 May 12 --- Added plot color. Also added TOP=top.
R. Sterner, 1998 May 13 --- Added OK button to signal other program.
Also GROUP_LEADER.
R. Sterner, 1998 May 14 --- Added LOCK=lck and UNLOCK=ulck to
eqv2_set_val and eqv2_get_val. Locks parameters.
R. Sterner, 1998 Oct 27 --- Fixed bug added by the plot color addition.
R. Sterner, 2010 May 04 --- Converted arrays from () to [].
Copyright (C) 1998, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.