Beispiel #1
0
        public void makeGraphInLayer2(double[] sloj, int N_elements, Color color, String name_graph, UseZedgraph usergraph2)
        {
            double[] sloj_T3 = sloj;

            double[] XX = new double[N_elements];
            double[] YY = new double[N_elements];
            for (int j = 0; j < N_elements; j++)
            {
                XX[j] = System.Convert.ToDouble(j);
                YY[j] = (System.Convert.ToDouble(sloj_T3[j]));
            }

            usergraph2.makeGraph(XX, YY, color, "");
            usergraph2.resetGraph();
        }
Beispiel #2
0
        public void makeGraphInLayer(double[] sloj, double X_delitel, Color color, int number_layer, UseZedgraph usergraph)
        {
            double[] sloj_T3  = sloj;
            int      scetchik = 0;

            double[] XX = new double[201];
            double[] YY = new double[201];
            for (int j = 0; j < Z; j++)
            {
                if (j % 100 == 0)
                {
                    XX[scetchik] = System.Convert.ToDouble(j);
                    YY[scetchik] = (System.Convert.ToDouble(sloj_T3[j] / X_delitel));
                    scetchik++;
                }
            }

            usergraph.makeGraph(XX, YY, color, "интенсивность на " + System.Convert.ToString(number_layer) + " слое");
            usergraph.resetGraph();
        }