Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        Graph graph = new Graph("param_v");

        graph.maxY     = 5.0f;
        graph.color    = Color.blue;
        graph.drawType = Graph.DrawType.Line;
        pramView.SetGraph(graph);

        Graph graph2 = new Graph("param_w");

        graph2.maxY  = 5.0f;
        graph2.color = Color.green;
        pramView.SetGraph(graph2);

        HorizontalLine extraLine = new HorizontalLine();

        extraLine.maxY  = 5.0f;
        extraLine.color = Color.magenta;
        extraLine.y     = 5.0f;
        pramView.SetExtraLine(extraLine);
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     pramView.SetGraph(graph);
     pramView.SetExtraLine(extraLine);
 }