@@ -291,99 +291,99 @@ plottertype(p::GridVisualizer) = plottertype(p.Plotter)
291291#
292292function default_plot_kwargs()
293293 return OrderedDict{Symbol, Pair{Any, String}}(
294- :show => Pair(false , " Show plot immediately" ),
295- :reveal => Pair(false , " Show plot immediately (same as :show)" ),
294+ :azim => Pair(- 60 , " 3D azimuth angle (in degrees)" ),
295+ :aspect => Pair(1.0 , " XY Aspect ratio modification" ),
296+ :backend => Pair(:default, " Backend for PlutoVista plot" ),
297+ :cellcoloring => Pair(
298+ :cellregions,
299+ " Coloring of cells: one of [:cellregions, :pcolors, :partitions]"
300+ ),
301+ :cellwise => Pair(false , " 1D plots cellwise; unmaintained and can be slow)" ),
296302 :clear => Pair(true , " Clear plot before adding new content" ),
303+ :color => Pair(RGB(0.0 , 0.0 , 0.0 ), " 1D plot line color" ),
304+ :colorbar => Pair(
305+ :vertical,
306+ " 2D/3D plot colorbar. One of [:none, :vertical, :horizontal]"
307+ ),
308+ :colorbarticks => Pair(
309+ :default,
310+ " number of ticks in colorbar (:default sets it equal to levels)"
311+ ),
312+ :colorlevels => Pair(51 , " 2D/3D contour plot: number of color levels" ),
313+ :colormap => Pair(
314+ :viridis,
315+ " 2D/3D contour plot color map (any from [ColorSchemes.jl](https://juliagraphics.github.io/ColorSchemes.jl/stable/basics/#Pre-defined-schemes))"
316+ ),
317+ :dim => Pair(1 , " Data dimension for PlutoVista plot" ),
318+ :elev => Pair(30 , " 3D elevation angle (in degrees)" ),
319+ :elevation => Pair(0.0 , " 2D plot height factor for elevation" ),
320+ :fignumber => Pair(1 , " Figure number (PyPlot)" ),
321+ :fontsize => Pair(20 , " Fontsize of titles. All others are relative to it" ),
322+ :framepos => Pair(1 , " Subplot position in frame (VTKView)" ),
323+ :gridscale => Pair(1 , " Grid scale factor. Will be applied also to planes, spacing" ),
324+ :interior => Pair(true , " 3D plot interior of grid" ),
325+ :label => Pair(" " , " 1D plot label" ),
297326 :layout => Pair((1 , 1 ), " Layout of plots in window" ),
298- :size => Pair((500 , 500 ), " Plot window resolution" ),
327+ :levelalpha => Pair(0.25 , " 3D isolevel alpha" ),
328+ :levels => Pair(7 , " array of isolevels or number of isolevels for contour plots" ),
299329 :legend => Pair(
300330 :none,
301331 " Legend (position): one of [:none, :best, :lt, :ct, :rt, :lc, :rc, :lb, :cb, :rb]"
302332 ),
303- :title => Pair(" " , " Plot title" ),
304- :xlabel => Pair(" x" , " x axis label" ),
305- :ylabel => Pair(" y" , " y axis label" ),
306- :zlabel => Pair(" z" , " z axis label" ),
307- :xlimits => Pair((1 , - 1 ), " x axis limits" ),
308- :ylimits => Pair((1 , - 1 ), " y axis limits" ),
309- :zlimits => Pair((1 , - 1 ), " z axis limits" ),
310333 :limits => Pair((1 , - 1 ), " function limits" ),
311- :xscale => Pair(:identity, " x axis scale: one of [:log, :identity]" ),
312- :yscale => Pair(:identity, " y axis scale: one of [:log, :identity]" ),
313- :aspect => Pair(1.0 , " XY Aspect ratio modification" ),
314- :fontsize => Pair(20 , " Fontsize of titles. All others are relative to it" ),
315- :linewidth => Pair(2 , " linewidth for isolines or 1D plots" ),
316334 :linestyle => Pair(
317335 :solid,
318336 " 1D Plot linestyle: one of [:solid, :dash, :dot, :dashdot, :dashdotdot]"
319337 ),
320- :markevery => Pair(5 , " 1D plot marker stride" ),
321- :markersize => Pair(5 , " 1D plot marker size" ),
338+ :linewidth => Pair(2 , " linewidth for isolines or 1D plots" ),
322339 :markershape => Pair(
323340 :none,
324341 " 1D plot marker shape: one of [:none, :circle, :star5, :diamond, :hexagon, :cross, :xcross, :utriangle, :dtriangle, :rtriangle, :ltriangle, :pentagon, :+, :x]"
325342 ),
326- :color => Pair(RGB(0.0 , 0.0 , 0.0 ), " 1D plot line color" ),
327- :cellwise => Pair(false , " 1D plots cellwise; unmaintained and can be slow)" ),
328- :label => Pair(" " , " 1D plot label" ),
329- :levels => Pair(7 , " array of isolevels or number of isolevels for contour plots" ),
330- :elevation => Pair(0.0 , " 2D plot height factor for elevation" ),
331- :colorlevels => Pair(51 , " 2D/3D contour plot: number of color levels" ),
332- :colormap => Pair(
333- :viridis,
334- " 2D/3D contour plot color map (any from [ColorSchemes.jl](https://juliagraphics.github.io/ColorSchemes.jl/stable/basics/#Pre-defined-schemes))"
335- ),
336- :colorbar => Pair(
337- :vertical,
338- " 2D/3D plot colorbar. One of [:none, :vertical, :horizontal]"
339- ),
340- :colorbarticks => Pair(
341- :default,
342- " number of ticks in colorbar (:default sets it equal to levels)"
343- ),
344- :outlinealpha => Pair(0.05 , " 3D outline surface alpha value" ),
345- :levelalpha => Pair(0.25 , " 3D isolevel alpha" ),
346- :planealpha => Pair(0.25 , " 3D plane section alpha" ),
347- :tetxplane_tol => Pair(0.0 , " tolerance for tet-plane intersection in 3D" ),
348- :rasterpoints => Pair(
349- 16 ,
350- " Number of quiver points resp. half number of streamplot interpolation points in the maximum extent direction. "
351- ),
343+ :markersize => Pair(5 , " 1D plot marker size" ),
344+ :markevery => Pair(5 , " 1D plot marker stride" ),
352345 :offset => Pair(:default, " Offset of quiver grid" ),
353- :vscale => Pair(1.0 , " Vector field scale for quiver grid" ),
354- :vconstant => Pair(false , " Set all arrow length constant in vector plot" ),
355- :vnormalize => Pair(true , " Normalize vector field before scaling" ),
356- :interior => Pair(true , " 3D plot interior of grid" ),
357- :xplanes => Pair([prevfloat(Inf )], " 3D x plane positions or number thereof" ),
358- :yplanes => Pair([prevfloat(Inf )], " 3D y plane positions or number thereof" ),
359- :zplanes => Pair([prevfloat(Inf )], " 3D z plane positions or number thereof" ),
360- :zoom => Pair(1.0 , " Zoom level" ),
361- :gridscale => Pair(1 , " Grid scale factor. Will be applied also to planes, spacing" ),
362- :cellcoloring => Pair(
363- :cellregions,
364- " Coloring of cells: one of [:cellregions, :pcolors, :partitions]"
365- ),
366- :azim => Pair(- 60 , " 3D azimuth angle (in degrees)" ),
367- :elev => Pair(30 , " 3D elevation angle (in degrees)" ),
346+ :outlinealpha => Pair(0.05 , " 3D outline surface alpha value" ),
368347 :perspectiveness => Pair(
369348 0.25 ,
370349 " 3D perspective A number between 0 and 1, where 0 is orthographic, and 1 full perspective"
371350 ),
351+ :planealpha => Pair(0.25 , " 3D plane section alpha" ),
352+ :reveal => Pair(false , " Show plot immediately (same as :show)" ),
353+ :regions => Pair(:all, " List of regions to plot" ),
354+ :rasterpoints => Pair(
355+ 16 ,
356+ " Number of quiver points resp. half number of streamplot interpolation points in the maximum extent direction."
357+ ),
372358 :scene3d => Pair(
373359 :Axis3,
374360 " 3D plot type of Makie scene. Alternative to `:Axis3` is `:LScene`"
375361 ),
376- :viewmode => Pair(:fit, " Axis3d viewmode for Makie plots. Possible values :fit or :free" ),
377- :fignumber => Pair(1 , " Figure number (PyPlot)" ),
378- :framepos => Pair(1 , " Subplot position in frame (VTKView)" ),
379- :subplot => Pair((1 , 1 ), " Private: Actual subplot" ),
380- :backend => Pair(:default, " Backend for PlutoVista plot" ),
381- :dim => Pair(1 , " Data dimension for PlutoVista plot" ),
382- :regions => Pair(:all, " List of regions to plot" ),
383- :species => Pair(1 , " Number of species to plot or number of species in regions" ),
384- :spacing => Pair(nothing , " Removed from API" ),
362+ :show => Pair(false , " Show plot immediately" ),
385363 :show_colorbar => Pair(true , " Show color bar next to plots" ),
386- :slice => Pair(nothing , " Plot a dim-1 slice along a hyperplane expression :(αx ± βy [± γz] ± δ)) or a fixed axis pair, e.g., :x => 3" )
364+ :slice => Pair(nothing , " Plot a dim-1 slice along a hyperplane expression :(αx ± βy [± γz] ± δ)) or a fixed axis pair, e.g., :x => 3" ),
365+ :size => Pair((500 , 500 ), " Plot window resolution" ),
366+ :spacing => Pair(nothing , " Removed from API" ),
367+ :species => Pair(1 , " Number of species to plot or number of species in regions" ),
368+ :subplot => Pair((1 , 1 ), " Private: Actual subplot" ),
369+ :title => Pair(" " , " Plot title" ),
370+ :tetxplane_tol => Pair(0.0 , " tolerance for tet-plane intersection in 3D" ),
371+ :vconstant => Pair(false , " Set all arrow length constant in vector plot" ),
372+ :vnormalize => Pair(true , " Normalize vector field before scaling" ),
373+ :vscale => Pair(1.0 , " Vector field scale for quiver grid" ),
374+ :viewmode => Pair(:fit, " Axis3d viewmode for Makie plots. Possible values :fit or :free" ),
375+ :xlimits => Pair((1 , - 1 ), " x axis limits" ),
376+ :xplanes => Pair([prevfloat(Inf )], " 3D x plane positions or number thereof" ),
377+ :xlabel => Pair(" x" , " x axis label" ),
378+ :xscale => Pair(:identity, " x axis scale: one of [:log, :identity]" ),
379+ :ylimits => Pair((1 , - 1 ), " y axis limits" ),
380+ :ylabel => Pair(" y" , " y axis label" ),
381+ :yplanes => Pair([prevfloat(Inf )], " 3D y plane positions or number thereof" ),
382+ :yscale => Pair(:identity, " y axis scale: one of [:log, :identity]" ),
383+ :zlimits => Pair((1 , - 1 ), " z axis limits" ),
384+ :zplanes => Pair([prevfloat(Inf )], " 3D z plane positions or number thereof" ),
385+ :zlabel => Pair(" z" , " z axis label" ),
386+ :zoom => Pair(1.0 , " Zoom level" )
387387 )
388388end
389389
0 commit comments