biopal.utility.plot.plot#
- biopal.utility.plot.plot(rasterObj, ax=None, title=None, clims=None, xlims=None, ylims=None)#
Plotting function 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_db
plot the data in dB
plot_abs
plot the absolute value of data
plot_angle
plot the angle (degrees) of complex data
plot_rad2deg
plot the data after conversion from radiants to degrees
Notes
plot, plots the data as it is:
\[rasterObj.data\]Examples
>>> rasterObj = BiomassL1cRaster(folder_path) >>> plot(rasterObj) >>> plt.show()
>>> rasterObj = BiomassL2Raster(tif_path) >>> fig, ax = plt.subplots() >>> plot(rasterObj, ax=ax) >>> ax.set_xlabel("my xlabel") >>> fig.show()