make_property_plot
- tulips.tulips.make_property_plot(ax, prof, property_name='logRho', raxis='mass', num_rings=- 1, cmin=- 5, cmax=10, log=False, cmap='plasma', theta1=0, theta2=360, log_low_lim=1e-20)[source]
Create property plot.
Plot a circle containing concentric rings with a color that corresponds to the evolution of a property.
- Parameters
- axaxis object
- prof: mesaPlot profile object
- property_name: string
Default logRho, existing quantity in the MESA profile.
- raxisstring
Default axis to use as radius representation. Any linear property can be used instead (for example radius).
- num_ringsint
Default -1, if greater than -1, limit the number of rings to this number.
- theta1int or float
Start angle for the wedge (in degrees).
- theta2int or float
End angle for the wedge (in degrees).
- cmapstr or matplotlib.colors.ListedColormap
Colormap to use for the property
- cminfloat
Minimum value to set for the colorbar.
- cmaxfloat
Maximum value to set for the colorbar, if smaller or equal to cmin, use the minimum and maximum values of property_name instead.
- logboolean
If set, show the natural logarithm of the property.
- log_low_limfloat
Value to replace zero and negative values in a property with
- Returns
- ——-
- List of artists created in the plot