Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        AltGUIOxyPlot oxyPlot = OxyPlot;

        if (oxyPlot == null)
        {
            return;
        }

        PlotModel model =
            TileMapAnnotation_openstreetmap_org();

        //TileMapAnnotation_statkart_no();

        oxyPlot.PlotModel            = model;
        oxyPlot.Plot.ClientBackColor = model.Background != null?
                                       Alt.Sketch.Ext.OxyPlot.ConverterExtensions.ToColor(model.Background) : Alt.Sketch.Color.FromArgb(128, Alt.Sketch.Color.WhiteSmoke);
    }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        AltGUIOxyPlot oxyPlot = OxyPlot;

        if (oxyPlot == null)
        {
            return;
        }

        PlotModel model =
            CreateNormalDistributionModel();

        //RichterMagnitudes();
        //LineSeriesWithSmoothing();
        //Mandelbrot();

        oxyPlot.PlotModel            = model;
        oxyPlot.Plot.ClientBackColor = model.Background != null?
                                       Alt.Sketch.Ext.OxyPlot.ConverterExtensions.ToColor(model.Background) : Alt.Sketch.Color.WhiteSmoke; //Alt.Sketch.Color.White;
    }