ax = plotAtm([ax],Atm,[xVar],[ModelName],[plotType],[xVarY])
Create plots of data from an input Atm structure. Also adds a Plot Options menu to the figure window allowing user to manipulate the plot as well as select different data to plot.
Parameters |
Description |
ax [handle] |
(Optional) Axis handle for the plot |
Atm [struct] |
Atmospheric structure as from AtmStruct |
xVar [char] |
(Optional) Name of independent variable for the plot. One of 'x', 'z', or 'h'. Defaults to 'z'. |
ModelName [char/cell] |
(Optional) Name of model to plot. Can be any of the models in the Atm structure or a cell array of models to plot together, e.g. {'Abs','Scat'}. Defaults to 'Cn2'. If both 'Abs' and 'Scat' are present, one can also plot 'Ext' (the sum of the two). |
plotType [char] |
(Optional) Plot type to display. Either 'Continuous', 'Discrete', or 'Integrated' |
xVarY [logical] |
(Optional) Flag indicating whether to plot the independent variable on the y-axis. Default is false. |
Return Values |
Description |
ax [handle] |
Handle to resulting axes |
>> ax = plotAtm(Atm,'h','Cn2','Discrete',true)
>> set(ax,'XScale','log')
Copyright (c) 2009. All rights reserved.
|
What do you think about this topic? Send feedback!
|