biopal.utility.plot.plot_angle#
- biopal.utility.plot.plot_angle(rasterObj, ax=None, title=None, clims=None, xlims=None, ylims=None)#
Plotting function (angle) for BiomassL1cRaster and BiomassL2Raster data objects
- Parameters:
- rasterObjBiomassL1cRaster or BiomassL2Raster object
initialized object of the data to plot
- axpyplot.subplot axes, optional
for custom settings
- titlestr, optional
- climslist of numbers, optional
plot saturation limits [minvalue, maxvalue] unit is [km], [deg] or [km], depending on the rasterObj.data content (respectively L1, intermediate or L2)
- xlimslist of numbers, optional
plot x axis limits [minvalue, maxvalue] slant range [km], longitude [deg] or east [km], depending on rasterObj.data content (respectively L1, intermediate or L2)
- ylimslist of numbers, optional
plot y axis limits [minvalue, maxvalue] azimuth [km], latitude [deg] or north [km], depending on rasterObj.data content (respectively L1, intermediate or L2)
See also
plot
plot the data as it is
plot_db
plot the data in dB
plot_abs
plot the absolute value of data
plot_rad2deg
plot the data after conversion from radiants to degrees
Notes
plot_angle, plots the angle (degrees) of complex data:
\[angle ( rasterObj.data )\]Examples
>>> rasterObj = BiomassL1cRaster(folder_path) >>> plot_angle(rasterObj) >>> plt.show()
>>> rasterObj = BiomassL2Raster(tif_path) >>> fig, ax = plt.subplots() >>> plot_angle(rasterObj, ax=ax) >>> ax.set_xlabel("my xlabel") >>> fig.show()