Text Data
The only input is the block of text to display:
StringBuilder sb = new StringBuilder(); sb.AppendLine("Theta\tsin(Theta"); double x_Min = 0.0; double x_Max = 2.0 * Math.PI; int numpoints = 1000; double Dx = (x_Max - x_Min) / (numpoints - 1); for (int i = 0; i < numpoints; ++i) { double th = c1 * i * dx + c2; sb.AppendLine(String.Format ( "{0:f4}\t{1:f4}", th, Math.Sin(th) ) ); } IUserTextData plotData = TheAnalysis.MakeText(); plotData.Data = sb.ToString();
Next: