Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md 2020.0.2 Jan 20, 2020
annotations.py 2020.0.1 Jan 8, 2020
axesStyle.py
customAxes.ipynb 2020.0.2 Jan 20, 2020
customAxes.py 2020.0.2 Jan 20, 2020
customIndividualAxes.py
donutPlot.py 1.0 Dec 19, 2019
fonts.py 2020.0.1 Jan 8, 2020
fxy.ipynb 1.0 Dec 19, 2019
fxy.py 2020.0.2 Jan 20, 2020
histoHexagonal.py
histoPolar.ipynb 2020.0.2 Jan 20, 2020
histogram.ipynb 2020.0.2 Jan 20, 2020
histogram.py 2020.0.2 Jan 20, 2020
histogram2D.ipynb 2020.0.2 Jan 20, 2020
histogram2D.py 2020.0.2 Jan 20, 2020
latex.ipynb 2020.0.2 Jan 20, 2020
latex.py 2020.0.1 Jan 8, 2020
markers.ipynb 2020.0.2 Jan 20, 2020
markers.py
markpoint.py 2020.0.2 Jan 20, 2020
numpy2picture.py 2020.0.2 Jan 20, 2020
plotxy.ipynb
plotxy.py
plotxy_errband.ipynb
plotxy_errband.py 2020.0.2 Jan 20, 2020
polarPlot.ipynb
polarPlot.py 2020.0.1 Jan 8, 2020
quiverPlot.ipynb
quiverPlot.py
run_all.sh 2020.0.2 Jan 20, 2020
scatter1.ipynb 2020.0.2 Jan 20, 2020
scatter1.py 2020.0.2 Jan 20, 2020
scatter2.ipynb 2020.0.2 Jan 20, 2020
scatter2.py
scatter3.ipynb 2020.0.2 Jan 20, 2020
scatter3.py 2020.0.2 Jan 20, 2020
sphericPlot.ipynb
sphericPlot.py 2020.0.2 Jan 20, 2020
text_just.py 2020.0.2 Jan 20, 2020

README.md

Histogramming and plotting examples

In this directory you will find a set of examples to perform basic 2D/3D plotting and histogramming.

git clone https://github.com/marcomusy/vtkplotter-examples.git
cd vtkplotter-examples/vtkplotter_examples/plotting2d
python customAxes.py

(click thumbnail image to get to the python script)

customaxes
customAxes.py
Customize axes style and appearance.
latex
latex.py
Draw latex formatted text on the rendering window.
markpoint
markpoint.py
Flag a point with a text that always faces camera.
plotxy
plotxy.py
Draw a x vs y plot with optional error bars.
plotxy_errband
plotxy_errband.py
Draw errors in y as a solid color band.
fxy
fxy.py
Draw a surface representing a function f(x, y) defined as a string/formula or as a reference to an external already existing function.
Red points indicate where the function does not exist.
scatter2
plotxy.py
Scatter points with varying marker size and color.
scatter3
plotxy.py
Superpose scatter plots of different distributions.
histo
histogram.py
Draw a 1D histogram with optional error bars.
histog2d
histogram.py
Draw a 2D histogram.
histo2d
histoHexagonal.py
Make a histogram of two variables with hexagonal binning.
polarHisto
polarHisto.py
Draw a polar histogram with error bars.
polarPlot
polarPlot.py
Plot a line in polar coordinates.
sphericPlot
sphericPlot.py
Plot a surface in spherical coordinates.
quiverPlot
quiverPlot.py
Quiver plot to represent a 2D field.
donutplot
donutPlot.py
A donut style plot or pie chart.
You can’t perform that action at this time.