WOW! That was amazing, and I truly appreciate the time and effort you have put into helping me with this task. I need to admit that I have made a mistake by not mentioning that the text file containing the data is space delimited and terminated with a new line for each set.
I have realized...
Here is the code that worked for me so far. Basically, save the data to a text file with new line termination. I don't believe this is not the most efficient way because I'm a casual programmer.
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using...
The angles do not need to be floating point numbers. It can be converted to integers. I believe it's a rare case that someone conducts a test in smaller steps.
Thanks @Skydiver , I will try this. I need to check the performance of this method with the Dictionary method as well to see if the two methods will have significant performance differences.
No, the data is saved tab-delimited text file. Excel image to illustrate how the data should be arranged. I know how to import the measured angles for rows, columns and data into individual arrays/lists. It's about how finding a faster/easier way to search for the data referenced by row and col...
Your first option is not clear to me. Say, I want to access vertical angle (row) 50 and horizontal angle (col) 25. How would you go about a dataset similar to the one below? I just need clarification on the method, not the code.
Thanks for responding to my query @Skydiver , it's fast access. FYI, the angles of the measurements taken for both vertical and horizontal planes are written to the text file with the data itself. I am capable of extracting the data, but I need to know what's the fastest way to reference...
Hi All,
This may sound stupid to you, as I'm a casual programmer. I have a two-dimensional array of values. Where rows are angles in decimal degrees, increments can be by 1 degree, 5 degrees even 10. Columns are also organized similar manner. I know how to access a generic two-dimensional...
Following function adds series to the chart. and inside of a class.
public Series AddSeriesToChart(string _SName, Color _SColour, string _cp1, string _cp2)
{
List<double> _cp1List = new List<double>();
List<double> _GAL1 = GA.ToList();
_cp1List =...
I have done most of the coding except for this drawing part on the polar chart. I even can draw the two lines using two series that goes through the calculated points. But not sure if that’s the best way of doing it. I’m not a pro programmer. I can post my code if you please.
Hi All,
Another questions related to Polar chart control. I want to draw two lines crossing certain values in polar chart and calculate the angle between line, then plot arc to indicate the angle and text to indicate value of the angle. how can I do this. any help much appriciated.
Cheers.
Hi jmcilinney,
Thanks for the reply but I quite don't understand this. say I have the following.
User Clicks the MDI parent menu to open the file. And file link is passed to Class to read it's content and error checking.
Class finds an issue with the file and then wants to terminate loading...
Hi All,
I have a class dedicated to reading file contents and I want my MDI child from to stop loading (say when the user opens the file from file menu) if this class throws an exception (ie. file contains a null value). how can this be done?
If there is a easy way, I can catch all errors...
HI All,
I am new C# and most of the time I find my answers to my C# problems through Google but unfortunately I couldn't find any related materiel for this problem. I hope someone can guide me in the right direction.
Problem: I am building a small application (WinForms - Chart Control) which...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.