5ddfeba0创建于 2022年9月18日历史提交

Plotting

The plotting part of the library contains APIs for visualizing data. It is a wrapper around matplot++ library, which is itself a wrapper of matplotlib in Python.

.. toctree:: :maxdepth: 1 :caption: Contents:

general classes

line plot line plot 3d stairs errorbars area loglog semilog function plot function plot 3d implicit function

hist box plot scatter plot scatter plot 3d binned scatter plotmatrix parallelplot pie heatmap wordcloud

bar pareto stem stem 3d

polar polar scatter polar histogram compass polar function

surface surface contour mesh mesh contour mesh curtain function surface function mesh waterfall fence ribbon

contour filled contour function contour

quiver quiver 3d feather

undirected graph directed graph

imshow image matrix scaled image

geoplot geoscatter geobubble geodensity

differences

Coverage

The following tables keep track of current progress with respect to collection of examples in the matplot++ library, categorized by plot types. All examples in the pages below correspond directly to those in matplot++ library. Differences in the plots produced are listed in :doc:differences.

Total: plot types 55/55, examples 294/313

Line Plots (11/11)


================= ========= ====== ======================== Plot Type Method 72/72 Link
================= ========= ====== ======================== Line Plot plot 12/12 :doc:line plot Line Plot 3D plot3 10/10 :doc:line plot 3d Stairs stairs 10/10 :doc:stairs Error Bars errorbar 10/10 :doc:errorbars Area area 4/4 :doc:area Loglog Plot loglog 9/9 :doc:loglog Semilogx Plot semilogx 1/1 :doc:semilog Semilogy Plot semilogy 1/1 :doc:semilog Function Plot fplot 6/6 :doc:function plot Function Plot 3D fplot3 5/5 :doc:function plot 3d Implicit function fimplicit 4/4 :doc:implicit function ================= ========= ====== ========================

Data Distribution (10/10)


==================== ============ ===== ============ Plot Type Method 56/64 Link ==================== ============ ===== ============ Histogram hist 12/15 :doc:hist Boxplot boxplot 3/3 :doc:box plot Scatter Plot scatter 8/8 :doc:scatter plot Scatter Plot 3D scatter3 6/7 :doc:scatter plot 3d Binned Scatter Plots binscatter 7/7 :doc:binned scatter Plot Matrix plotmatrix 3/4 :doc:plotmatrix Parallel Coordinates parallelplot 3/3 :doc:parallelplot Pie Chart pie 6/6 :doc:pie Heatmap heatmap 7/7 :doc:heatmap Word Cloud wordcloud 1/4 :doc:wordcloud ==================== ============ ===== ============

Discrete Data (4/4)


================ ========== ====== ============ Plot Type Method 37/37 Link ================ ========== ====== ============ Bar Plot bar 13/13 :doc:bar Pareto Chart pareto 4/4 :doc:pareto Stem Plot stem 9/9 :doc:stem Stem Plot 3D stem3 11/11 :doc:stem 3d ================ ========== ====== ============

Contour Plots (3/3)


================ ========= ====== ============ Type Method 25/25 Link ================ ========= ====== ============ Contour contour 8/8 :doc:contour Filled Contour contourf 6/6 :doc:filled contour Function Contour fcontour 11/11 :doc:function contour ================ ========= ====== ============

Geography (4/4)


================= ================ ====== ============= Type Method 9/12 Link ================= ================ ====== ============= Geobubble geobubble 2/2 :doc:geobubble Geodensity Plot geodensityplot 1/1 :doc:geodensity Geoplot geoplot 4/7 :doc:geoplot Geoscatter geoscatter 2/2 :doc:geoscatter ================= ================ ====== =============

Graphs (2/2)


================ =========== ====== ========== Type Method 6/8 Link ================ =========== ====== ========== Digraph digraph 2/3 :doc:directed graph Graph graph 4/5 :doc:undirected graph ================ =========== ====== ==========

Images (3/3)


================ ========= ====== ========== Type Method 20/20 Link ================ ========= ====== ========== Image Show imshow 11/11 :doc:imshow Image Matrix image 5/5 :doc:image matrix Scaled Image imagesc 4/4 :doc:scaled image ================ ========= ====== ==========

Polar Plots (5/5)


==================== ============== ====== ========== Type Method 18/23 Link ==================== ============== ====== ========== Polar Line Plot polarplot 6/8 :doc:polar Polar Scatter Plot polarscatter 5/6 :doc:polar scatter Polar Histogram polarhistogram 4/5 :doc:polar histogram Compass compass 1/2 :doc:compass Polar Function ezpolar 2/2 :doc:polar function ==================== ============== ====== ==========

Surfaces (10/10)


==================== ========= ====== ========== Type Method 43/43 Link ==================== ========= ====== ========== Surface surf 6/7 :doc:surface Surface with Contour surfc 4/4 :doc:surface contour Mesh mesh 4/4 :doc:mesh Mesh with Contour meshc 3/3 :doc:mesh contour Mesh with Curtain meshz 3/3 :doc:mesh curtain Function Surface fsurf 8/8 :doc:function surface Function Mesh fmesh 4/4 :doc:function mesh Waterfall waterfall 3/3 :doc:waterfall Fence fence 3/3 :doc:fence Ribbon ribbon 4/4 :doc:ribbon ==================== ========= ====== ==========

Vector Fields (3/3)


================ ============ ====== ========== Type Method 8/9 Link ================ ============ ====== ========== Quiver quiver 5/6 :doc:quiver Quiver 3D quiver3 2/2 :doc:quiver 3d Feather feather 1/1 :doc:feather ================ ============ ====== ==========