Procs
proc backgroundColor[T](plt: Plot[T]; color: Color): Plot[T]
- Source Edit
proc colormap[T; U: AllowedColorMap](plt: Plot[T]; colormap: U; idx = 0): Plot[T]
-
assigns the given colormap to the trace of index idx A colormap can be given as one of the following:
- ColorMap: enum
- PredefinedCustomMaps: enum
- CustomColorMap: ref object
- colormapData: seq[tuple[r, g, b: float64]]
proc gridColorX[T](plt: Plot[T]; color: Color): Plot[T]
- Source Edit
proc gridColorY[T](plt: Plot[T]; color: Color): Plot[T]
- Source Edit
proc gridWidthX[T](plt: Plot[T]; width: int): Plot[T]
- Source Edit
proc gridWidthY[T](plt: Plot[T]; width: int): Plot[T]
- Source Edit
proc heatmapTrace[T](z: seq[seq[T]]): Trace[T]
- Source Edit
proc legendBgColor[T](plt: Plot[T]; color: Color): Plot[T]
- Source Edit
proc legendBorderColor[T](plt: Plot[T]; color: Color): Plot[T]
- Source Edit
proc legendBorderWidth[T](plt: Plot[T]; width: int): Plot[T]
- Source Edit
proc legendLocation[T](plt: Plot[T]; x, y: float): Plot[T]
- Source Edit
proc legendOrientation[T](plt: Plot[T]; orientation: Orientation): Plot[T]
- Source Edit
proc markerSize[T](plt: Plot[T]; val: SomeNumber; idx = 0): Plot[T]
- Source Edit
proc markerSizes[T](plt: Plot[T]; sizes: seq[T]; idx = 0): Plot[T]
- Source Edit
proc paperColor[T](plt: Plot[T]; color: Color): Plot[T]
- Source Edit
proc roundOrIdent[T: SomeNumber](x: T): T
- Source Edit
proc scatterTrace[T, U](x: seq[T]; y: seq[U]): Trace[T]
- Source Edit
Templates
template scatterColor(x, y, z: untyped): untyped
- adds a color dimension to the scatter plot in addition Source Edit
template scatterPlot(x, y: untyped): untyped
- Source Edit