external/CDAWlib/
plot_timeseries.pro
NAME: PLOT_TIMESERIES PURPOSE: To generate a time series plot given the anonymous structures returned by the read_mycdf function. CALLING SEQUENCE: out = read_mycdf(Xstruct,Ystruct) INPUTS: Xstruct = structure containing the Epoch variable structure of the type returned by the read_mycdf structure. Ystruct = structure containing the variable to be plotted against the Epoch variable in the Xstruct parameter KEYWORD PARAMETERS: TSTART = Forces the time axis to begin at this Epoch time. TSTOP = Forces the time axis to end at this Epoch time. ELEMENTS = if set, then only these elements of a dimensional variable will be plotted. POSITION = If set, this routine will draw the plot(s) at this position of an existing window, rather than open a new one. FIRSTPLOT= Use this key in conjunction with the position keyword. Set this flag to indicate that the variable is the first in the window. LASTPLOT = Use this key in conjunction with the position keyword. Set this flag to indicate that the variable is the last in the window. PANEL_HEIGHT = vertical height, in pixels, of each panel CDAWEB = If set, the plot will have sufficient margin along the Z axis to hold a colorbar. GIF = If set, the plot will be a .gif file instead of Xwindow XSIZE = if set, forces the plot window to this width YSIZE = if set, forces the plot window to this height AUTO = if set, turns auto-scaling on NOGAPS = if set, eliminates data gap scanning NONOISE = if set, filter out values outside 3 sigma from mean IGNORE_DISPLAY_TYPE = if set, causes the attribute display_type to be ignored. NOSUBTITLE = if set, will not print 'time range = ' subtitle even after the last graph. Needed for timetext case. RCJ ONLYLABEL = if set, graph position is calculated but graph is not plotted. However, the x-axis label *is* plotted. Utilized by timetext case. RCJ SCATTER = if set, display a scatter plot (each point is plotted as a dot, no lines connect the dots. added on 5/14/2001 TJK COMBINE = if set, need to add the dataset name to the y axis label added 10/14/2003 - TJK. DEBUG = if set, turns on additional debug output. OUTPUTS: out = status flag, 0=0k, -1 = problem occured. AUTHOR: Richard Burley, NASA/GSFC/Code 632.0, Feb 22, 1996 burley@nssdca.gsfc.nasa.gov (301)286-2864 MODIFICATION HISTORY: 8/13/96 : R. Burley : Add NONOISE capability Copyright 1996-2013 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved.
Routines
top source plot_timeseries
result = plot_timeseries(Xvar, Yvar, NOVALIDS, TSTART=TSTART, TSTOP=TSTOP, ELEMENTS=ELEMENTS, POSITION=POSITION, PANEL_HEIGHT=PANEL_HEIGHT, FIRSTPLOT=FIRSTPLOT, LASTPLOT=LASTPLOT, CDAWEB=CDAWEB, GIF=GIF, NOSUBTITLE=NOSUBTITLE, XSIZE=XSIZE, YSIZE=YSIZE, ONLYLABEL=ONLYLABEL, AUTO=AUTO, NOGAPS=NOGAPS, err_plus=err_plus, err_minus=err_minus, IGNORE_DISPLAY_TYPE=IGNORE_DISPLAY_TYPE, NONOISE=NONOISE, DEBUG=DEBUG, REPORT=REPORT, SCATTER=SCATTER, COMBINE=COMBINE, _EXTRA=_EXTRA)
Parameters
- Xvar
- Yvar
- NOVALIDS
Keywords
- TSTART
- TSTOP
- ELEMENTS
- POSITION
- PANEL_HEIGHT
- FIRSTPLOT
- LASTPLOT
- CDAWEB
- GIF
- NOSUBTITLE
- XSIZE
- YSIZE
- ONLYLABEL
- AUTO
- NOGAPS
- err_plus
- err_minus
- IGNORE_DISPLAY_TYPE
- NONOISE
- DEBUG
- REPORT
- SCATTER
- COMBINE
- _EXTRA
File attributes
Modification date: | Tue Oct 21 13:53:47 2014 |
Lines: | 586 |