/// <summary> /// Initializes a new instance of the <see cref="LinearColorAxis" /> class. /// </summary> public LinearColorAxis() { this.Position = AxisPosition.None; this.AxisDistance = 20; this.IsPanEnabled = false; this.IsZoomEnabled = false; this.Palette = OxyPalettes.Viridis(); this.LowColor = OxyColors.Undefined; this.HighColor = OxyColors.Undefined; this.InvalidNumberColor = OxyColors.Gray; }
public static PlotModel Viridis10() { return(HeatMapSeriesExamples.CreatePeaks(OxyPalettes.Viridis(10), false)); }
public static PlotModel ColorMapViridis() { return(CreateRandomScatterSeriesWithColorAxisPlotModel(2500, OxyPalettes.Viridis(), MarkerType.Square, AxisPosition.Right, OxyColors.Undefined, OxyColors.Undefined)); }