예제 #1
0
        public override void Run(Altaxo.Gui.Worksheet.Viewing.WorksheetController ctrl)
        {
            PresentationCoreLoader.EnsurePresentationCoreLoaded();

            var graph = Altaxo.Graph.Graph3D.Templates.TemplateWithXYZPlotLayerWithG3DCartesicCoordinateSystem.CreateGraph(
                PropertyExtensions.GetPropertyContextOfProjectFolder(ctrl.DataTable.Folder), "GRAPH", ctrl.DataTable.Folder, false);

            Current.ProjectService.OpenOrCreateViewContentForDocument(graph);
        }
예제 #2
0
        public override void Run(Altaxo.Gui.Worksheet.Viewing.WorksheetController ctrl)
        {
            PresentationCoreLoader.EnsurePresentationCoreLoaded();

            var table = ctrl.DataTable;

            var graph = Altaxo.Graph.Graph3D.Templates.TemplateWithXYZPlotLayerWithG3DCartesicCoordinateSystem.CreateGraph(
                table.GetPropertyContext(), null, table.Name, true);

            AddSurfacePlot(ctrl, graph);

            Current.ProjectService.OpenOrCreateViewContentForDocument(graph);
        }