Close
Close window
exportplot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

plottools

exportplot

export from a plot to a geometric data file

Calling Sequence

exportplot(fname, p, opts)

Parameters

fname

-

path of the file

p

-

a PLOT or PLOT3D structure

opts

-

(optional) the format option as described below

Options

encoding : one of text or binary

Specifies whether the output should be encoded using a text or binary variant of the format. This option is only effective for the PLY and STL output formats. The default is binary.

format : string

Specifies the output format. It must correspond to one of the listed supported formats. If unspecified, then the format is inferred from the file extension of fname.

Description

The exportplot command retrieves geometric data from a plot structure and exports it to a file in the specified data format.

The command returns a number showing the count of bytes written to disk during the export.

The exportplot command supports all 3-D plot structures with the exception of ISOSURFACE.

It is also possible to export plot data to a file in an external graphics format using the graphical export tools in the context-sensitive menu .

Supported Export Formats

Formats supported by exportplot include the following:

Raster Graphics formats: GIF , JPEG , TIFF

Vector Graphics formats: AMF , BYU , DXF , COLLADA , JVX , OBJ , OFF , PLY , POV , STL , VTK , WMF

Examples

>

withplottools:

>

stlFileTools:-JoinPathFileTools:-TemporaryDirectory,seashell.stl

stl/tmp/mpldoc17/seashell.stl

(1)
>

pplot3d1.2xsiny,x=1..2π,y=0..π,coords=spherical:

>

exportplotstl,p

230484

(2)
>

importplotstl

Compatibility

The plottools[exportplot] command was introduced in Maple 18.

For more information on Maple 18 changes, see Updates in Maple 18 .

The plottools[exportplot] command was updated in Maple 2021.

The format option was updated in Maple 2021.


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /