|
1 | 1 | #Region "Microsoft.VisualBasic::7651ab7c6e476846a381b27e4b59760c, Library\graphics\Plot2D\plots.vb" |
2 | 2 |
|
3 | | - ' Author: |
4 | | - ' |
5 | | - ' asuka (amethyst.asuka@gcmodeller.org) |
6 | | - ' xie (genetics@smrucc.org) |
7 | | - ' xieguigang (xie.guigang@live.com) |
8 | | - ' |
9 | | - ' Copyright (c) 2018 GPL3 Licensed |
10 | | - ' |
11 | | - ' |
12 | | - ' GNU GENERAL PUBLIC LICENSE (GPL3) |
13 | | - ' |
14 | | - ' |
15 | | - ' This program is free software: you can redistribute it and/or modify |
16 | | - ' it under the terms of the GNU General Public License as published by |
17 | | - ' the Free Software Foundation, either version 3 of the License, or |
18 | | - ' (at your option) any later version. |
19 | | - ' |
20 | | - ' This program is distributed in the hope that it will be useful, |
21 | | - ' but WITHOUT ANY WARRANTY; without even the implied warranty of |
22 | | - ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
23 | | - ' GNU General Public License for more details. |
24 | | - ' |
25 | | - ' You should have received a copy of the GNU General Public License |
26 | | - ' along with this program. If not, see <http://www.gnu.org/licenses/>. |
27 | | - |
28 | | - |
29 | | - |
30 | | - ' /********************************************************************************/ |
31 | | - |
32 | | - ' Summaries: |
33 | | - |
34 | | - |
35 | | - ' Code Statistics: |
36 | | - |
37 | | - ' Total Lines: 1178 |
38 | | - ' Code Lines: 912 (77.42%) |
39 | | - ' Comment Lines: 146 (12.39%) |
40 | | - ' - Xml Docs: 85.62% |
41 | | - ' |
42 | | - ' Blank Lines: 120 (10.19%) |
43 | | - ' File Size: 53.36 KB |
44 | | - |
45 | | - |
46 | | - ' Module plots |
47 | | - ' |
48 | | - ' Function: barplot, ContourPlot, CreateSerial, doViolinPlot, findNumberVector |
49 | | - ' measureDataTable, modelWithClass, modelWithoutClass, plot_binBox, plot_categoryBars |
50 | | - ' plot_corHeatmap, plot_deSolveResult, plot_hclust, plotArray, plotContourLayers |
51 | | - ' plotFormula, plotLinearYFit, plotLmCall, plotODEResult, plotPieChart |
52 | | - ' PlotPolygon, plotSerials, plotVector, printImage, UpSetPlot |
53 | | - ' |
54 | | - ' Sub: Main, TryGetClassData |
55 | | - ' |
56 | | - ' /********************************************************************************/ |
| 3 | +' Author: |
| 4 | +' |
| 5 | +' asuka (amethyst.asuka@gcmodeller.org) |
| 6 | +' xie (genetics@smrucc.org) |
| 7 | +' xieguigang (xie.guigang@live.com) |
| 8 | +' |
| 9 | +' Copyright (c) 2018 GPL3 Licensed |
| 10 | +' |
| 11 | +' |
| 12 | +' GNU GENERAL PUBLIC LICENSE (GPL3) |
| 13 | +' |
| 14 | +' |
| 15 | +' This program is free software: you can redistribute it and/or modify |
| 16 | +' it under the terms of the GNU General Public License as published by |
| 17 | +' the Free Software Foundation, either version 3 of the License, or |
| 18 | +' (at your option) any later version. |
| 19 | +' |
| 20 | +' This program is distributed in the hope that it will be useful, |
| 21 | +' but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 | +' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 23 | +' GNU General Public License for more details. |
| 24 | +' |
| 25 | +' You should have received a copy of the GNU General Public License |
| 26 | +' along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +' /********************************************************************************/ |
| 31 | + |
| 32 | +' Summaries: |
| 33 | + |
| 34 | + |
| 35 | +' Code Statistics: |
| 36 | + |
| 37 | +' Total Lines: 1178 |
| 38 | +' Code Lines: 912 (77.42%) |
| 39 | +' Comment Lines: 146 (12.39%) |
| 40 | +' - Xml Docs: 85.62% |
| 41 | +' |
| 42 | +' Blank Lines: 120 (10.19%) |
| 43 | +' File Size: 53.36 KB |
| 44 | + |
| 45 | + |
| 46 | +' Module plots |
| 47 | +' |
| 48 | +' Function: barplot, ContourPlot, CreateSerial, doViolinPlot, findNumberVector |
| 49 | +' measureDataTable, modelWithClass, modelWithoutClass, plot_binBox, plot_categoryBars |
| 50 | +' plot_corHeatmap, plot_deSolveResult, plot_hclust, plotArray, plotContourLayers |
| 51 | +' plotFormula, plotLinearYFit, plotLmCall, plotODEResult, plotPieChart |
| 52 | +' PlotPolygon, plotSerials, plotVector, printImage, UpSetPlot |
| 53 | +' |
| 54 | +' Sub: Main, TryGetClassData |
| 55 | +' |
| 56 | +' /********************************************************************************/ |
57 | 57 |
|
58 | 58 | #End Region |
59 | 59 |
|
@@ -102,6 +102,7 @@ Imports Microsoft.VisualBasic.Math.Interpolation |
102 | 102 | Imports Microsoft.VisualBasic.MIME.Html.CSS |
103 | 103 | Imports Microsoft.VisualBasic.Scripting.MetaData |
104 | 104 | Imports Microsoft.VisualBasic.Scripting.Runtime |
| 105 | +Imports R_graphics.Common.Runtime |
105 | 106 | Imports Rlapack |
106 | 107 | Imports SMRUCC.Rsharp |
107 | 108 | Imports SMRUCC.Rsharp.Interpreter |
@@ -944,7 +945,7 @@ Module plots |
944 | 945 |
|
945 | 946 | If args.CheckGraphicsDeviceExists Then |
946 | 947 | ' draw on current graphics context |
947 | | - Dim dev As graphicsDevice = RgraphicsDev.curDev |
| 948 | + Dim dev As graphicsDevice = R_graphics.Common.Runtime.graphics.curDev |
948 | 949 | Dim padding As Padding = InteropArgumentHelper.getPadding(dev.getArgumentValue("padding", args)) |
949 | 950 | Dim canvas As New GraphicsRegion(dev.g.Size, padding) |
950 | 951 |
|
|
0 commit comments