Plotora1.0.0← LibraryScientific visualization, simplified.
DOCUMENTATION / GUIDES

Export and LaTeX

python
import plotora as pt
g = pt.function("sin(x)")
g.save_all("wave", formats=["pdf", "svg", "png", "jpeg"], dpi=600)

Static formats include PDF, SVG/SVGZ, PNG, JPG/JPEG, TIFF, WebP, EPS, PS, RAW/RGBA and PGF (requires TeX). DPI controls raster resolution and rasterized artists inside vector files. PDF or SVG is preferable for line art. Save before a blocking show().

LaTeX

python
g.save("wave.tex", filename="wave.pdf", caption="Example signal.", label="fig:wave")

Add \usepackage{graphicx} to your preamble. The generated snippet refers to the PDF; it does not embed it. Upload both files or paste the snippet into your report. Captions and filenames are trusted LaTeX markup.

Data and interactive output

g.save("wave.csv") writes recorded data when available. TXT, XLSX and JSON are also supported. Editing native axes does not update recorded graph data. HTML export is offline via optional Plotly and limited to simple single-axis 2D line/scatter plots. PY export is limited to numeric single-axis line plots; it is not general graph serialization.

Animation

python
import numpy as np
x = np.linspace(0, 2*np.pi, 200)
frames = [np.sin(x+p) for p in np.linspace(0, 2*np.pi, 30)]
pt.animate(x, frames).save("wave.gif", fps=15)

MP4 requires FFmpeg (system installation or optional imageio-ffmpeg). Use animate rather than a static Graph for GIF or MP4.

Plotora 1.0.0 · Release candidate documentation