Macaulay2 » Documentation
Packages » Graphics :: pgfObject(Point2D,HashTable)
next | previous | forward | backward | up | index | toc

pgfObject(Point2D,HashTable) -- create the string describing a point in pgf

Synopsis

Description

The options that are not given in myoptions are set at their default values if they are contained in defaultPGFOptions. Options not listed in possiblePGFOptions are discarded. The size of the point comes from defaultPGFValues.

i1 : myoptions = hashTable {"fill"=>"red"}

o1 = HashTable{"fill" => red}

o1 : HashTable
i2 : pgfObject(point(20,30),myoptions)

o2 = \draw[fill=red] (20,30) circle (0.1);

Ways to use this method: