浏览代码

Add MM_rendered for plots

Yentl Van Tendeloo 8 年之前
父节点
当前提交
0a749eec88
共有 1 个文件被更改,包括 36 次插入0 次删除
  1. 36 0
      models/MM_rendered_plot.mvc

+ 36 - 0
models/MM_rendered_plot.mvc

@@ -0,0 +1,36 @@
+SCD MM_Rendered_Plot{
+    SimpleAttribute String {}
+    SimpleAttribute Boolean {}
+    SimpleAttribute Float {}
+
+    Class Plot {
+        title : String
+        legend : Boolean
+    }
+
+    Class Dataset {
+        legend : String
+        color : String
+        linestyle : String
+    }
+
+    Class Datapoint {
+        x : Float
+        y : Float
+    }
+
+    Class Axis {
+        name : String
+        unit : String
+        lim_low : Float
+        lim_high : Float
+    }
+
+    Class XAxis : Axis {}
+    Class YAxis : Axis {}
+
+    Association x (Plot, XAxis) {}
+    Association y (Plot, YAxis) {}
+    Association data (Plot, Dataset) {}
+    Association point (Dataset, Datapoint) {}
+}