[−][src]Enum gnuplot::PlotOption
An enumeration of plot options you can supply to plotting commands, governing things like line width, color and others
Variants
PointSymbol(char)
Sets the symbol used for points. The valid characters are as follows:
.
- dot+
- plusx
- cross*
- stars
- empty squareS
- filled squareo
- empty circleO
- filled circlet
- empty triangleT
- filled triangled
- empty del (upside down triangle)D
- filled del (upside down triangle)r
- empty rhombusR
- filled rhombus
PointSize(f64)
Sets the size of the points. The size acts as a multiplier, with 1.0 being the default.
Caption(T)
Sets the caption of the plot element. Set to empty to hide it from the legend.
LineWidth(f64)
Sets the width of lines.
Color(T)
Sets the color of the plot element. The passed string can be a color name (e.g. "black" works), or an HTML color specifier (e.g. "#FFFFFF" is white). This specifies the fill color of a filled plot.
BorderColor(T)
Sets the color of the border of a filled plot (if it has one). The passed string can be a color name (e.g. "black" works), or an HTML color specifier (e.g. "#FFFFFF" is white).
LineStyle(DashType)
Sets the style of the line. Note that not all gnuplot terminals support dashed lines. See DashType for the available styles.
FillAlpha(f64)
Sets the transparency of a filled plot. 0.0
- fully transparent, 1.0
- fully opaque
FillRegion(FillRegionType)
Sets the fill region. See FillRegion for the available regions.
ArrowType(ArrowheadType)
Sets what an arrowhead looks like
ArrowSize(f64)
Sets the size of the arrowhead. This is specified in the units of graph (i.e. 1.0
would make the arrow as big as the graph).
WhiskerBars(f64)
Width of the whisker bars (as a fraction of the box width) for box and whisker plots.
Trait Implementations
impl<T: Copy> Copy for PlotOption<T>
[src]
impl<T: Clone> Clone for PlotOption<T>
[src]
fn clone(&self) -> PlotOption<T>
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<T> Send for PlotOption<T> where
T: Send,
T: Send,
impl<T> Sync for PlotOption<T> where
T: Sync,
T: Sync,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,