Plot Objects

From HelioWiki Home Page
Revision as of 15:55, 25 October 2010 by imported>Schriste (New page: Some preliminary notes on the plot objects which include * utplot object * xyplot object * map object == Some Sample Code == === The UTPLOT object === <source lang="ittvis_idl"> new=obj...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Some preliminary notes on the plot objects which include

  • utplot object
  • xyplot object
  • map object

Some Sample Code

The UTPLOT object

new=obj_new('utplot')
new->set, times = result.time, data = result.esp_171
new->plot

The XYPLOT object

new=obj_new('xyplot')
new->set, xdata = findgen(100), ydata = findgen(100)
new->plot

The MAP object

new=obj_new('map')
fits2map, 'yourfitsfilename', map
new->set, map = map

Plotman

Each of these objects can also be plotted directly in plotman using the following code

plotman=obj_new('plotman', input = new, plot_type = 'map')