plot

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

The plot package exports functions to draw the structure definition, preprocessing and solution models to SVG vector images.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StructureToSVG

func StructureToSVG(st *structure.Structure, options StructurePlotOps, w io.Writer)

StructureToSVG generates an SVG diagram representing the structure's definition and writes the result to the given writer.

Types

type StructurePlotOps

type StructurePlotOps struct {
	Scale     float64
	MinMargin int
}

StructurePlotOps are the options that can be passed to the StructureToSVG function to tweak how the structure definition is drawn.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL