.. _options-styling: Color scales and styling ======================== Control colors, colorbars, lines, grids, map appearance, fonts, and resolution. .. program:: plopm -c/--colors -------------------- .. option:: -c , --colors :no-contents-entry: :no-typesetting: Set the colormap for spatial plots, for example ``jet``, or summary-plot colors separated by commas, for example ``b,r``. **Default:** empty, so **plopm** selects the colors. -cl/--clim ------------------- .. option:: -cl , --clim :no-contents-entry: :no-typesetting: Set color-scale limits in the requested display order, for example ``[-0.1,11]`` or ``[11,-0.1]``. Separate limits for multiple plots with spaces. **Default:** empty -clog/--color-log <0|1> ----------------------- .. option:: -clog <0|1>, --color-log <0|1> :no-contents-entry: :no-typesetting: Enable logarithmic color scaling with ``1``. Separate settings for multiple variables with commas: .. code-block:: console plopm -clog "1,1,0" **Default:** ``0`` -clt/--color-log-ticks ------------------------------ .. option:: -clt , --color-log-ticks :no-contents-entry: :no-typesetting: Set logarithmic color-scale ticks in brackets, separated by commas, for example ``[1,10,100]``. At least one corresponding :option:`plopm -clog` setting must be ``1``. **Default:** empty -gr/--global-range <0|1> ------------------------ .. option:: -gr <0|1>, --global-range <0|1> :no-contents-entry: :no-typesetting: Select the values used for color scaling: * ``0`` uses the current slice range. * ``1`` uses the whole-model range. **Default:** ``0`` -cbf/--colorbar-format ------------------------------- .. option:: -cbf , --colorbar-format :no-contents-entry: :no-typesetting: Set the colorbar number format, for example ``.2f``. **Default:** empty, so **plopm** selects the format. -cbn/--colorbar-tick-count ---------------------------------- .. option:: -cbn , --colorbar-tick-count :no-contents-entry: :no-typesetting: Set the number of colorbar ticks. Separate values for multiple plots with commas, for example ``3,6,2``. **Default:** empty, so **plopm** selects the number of ticks. -cbt/--colorbar-ticks ------------------------------ .. option:: -cbt , --colorbar-ticks :no-contents-entry: :no-typesetting: Set custom colorbar tick labels in brackets, separated by commas, for example ``[G,F,E,D,C,ESF]``. **Default:** empty -lw/--linewidth ------------------------ .. option:: -lw , --linewidth :no-contents-entry: :no-typesetting: Set line widths separated by commas, for example ``1,2,1.5``. **Default:** empty, so **plopm** selects the widths. -ls/--linestyle ------------------------ .. option:: -ls , --linestyle :no-contents-entry: :no-typesetting: Set line styles separated by commas, for example ``solid,dotted``. **Default:** empty, so **plopm** selects the styles. -ag/--axis-grid <0|1> --------------------- .. option:: -ag <0|1>, --axis-grid <0|1> :no-contents-entry: :no-typesetting: Display the summary-plot axis grid when set to ``1``. **Default:** ``1`` -fc/--facecolor ----------------------- .. option:: -fc , --facecolor :no-contents-entry: :no-typesetting: Set the color outside the spatial map. **Default:** ``w`` (white) -ic/--inactive-color ---------------------------- .. option:: -ic , --inactive-color :no-contents-entry: :no-typesetting: Set the color of inactive cells in two-dimensional maps. **Default:** ``w`` (white) -ge/--grid-edges ------------------------------ .. option:: -ge , --grid-edges :no-contents-entry: :no-typesetting: Set the ``pcolormesh`` edge color and line width, for example ``black,1e-3``. **Default:** empty, so cell edges are not displayed. -fz/--fontsize --------------------- .. option:: -fz , --fontsize :no-contents-entry: :no-typesetting: Set the font size. **Default:** ``12`` -dpi/--dpi ------------------ .. option:: -dpi , --dpi :no-contents-entry: :no-typesetting: Set figure resolution in dots per inch. **Default:** ``500``