MetaPost file format - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Input and Output : File Formats : Formats/MetaPost

MetaPost Graph Format - MetaPost file format

Description

• 

MetaPost is a graph file format based on the Metafont language.

• 

The Export and GraphTheory[ExportGraph] commands can write to this format.

Examples

Export the Levi graph to a MetaPost file in the home directory of the current user.

withGraphTheory:

levi:=SpecialGraphs:-LeviGraph

levi:=Graph 1: an undirected unweighted graph with 30 vertices and 45 edge(s)

(1)

DrawGraphlevi,style=spring

file:=FileTools:-JoinPathlevi.mp,base=homedir

/Users/JohnSmith/levi.mp

(2)

ExportGraphlevi,file,metapost

See Also

Formats, GraphTheory


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam