Home > Software engineering >  What a great god can help me read the text file draw this figure
What a great god can help me read the text file draw this figure

Time:09-19

I am new, professionally have such data, need to drawing, hope the great god give directions
Data about
1000, 600-600
852.61000, 500-965
569.431000 700 852.6 1456.2
1000 900 569.43 939.4
1000, 1085, 2348.9, 521.78
.

1500, 600-600
852.61500, 500, 569.9, 345.9
1500 700 852.6 1456.2
1500 900 569.43 939.4
1500, 1085, 2348.9, 521.78
.
A number of such points, a point in a picture
First as identifier, the second as a horizontal axis and the third column of the fourth column is vertical, drawing on the two canvas
The second column transverse order disorderly, sometimes need to sort, any good sorting source for, vb.net, thank you for your attention

CodePudding user response:



"Description" like you, all depend on others to guess what you really want to...

CodePudding user response:

Is drawing curves, and simple said is the two columns of digital painting line, here the attachment and figure

CodePudding user response:

refer to the second floor pubu2005 response:
is curve, simply be two columns of digital painting line, here no attachment and figure

Can send pictures very not!
"Reply" edit box above, sixth icon is inserted into the picture,

This BBS is not "attachment" feature, the current recommended "with the network location to share" way to achieve a goal,
Operation method, reference to this post, reply, 9/f:
http://bbs.csdn.net/topics/392193811
In that post 9 f, I also am "pictures",

CodePudding user response:

Ok, I on the computer at night under the details

CodePudding user response:

You understand and describe the estimate is not the same thing

CodePudding user response:

Similar to stock the Shanghai composite index deep refers to two line

CodePudding user response:



Hello, I want to get such a figure, the data such as




Is above the data, the transverse frequency of the third column, under which the great spirit show



I'll use a data point to draw such a figure, but for a lot of points or not




For n=0 To nfreq - 1
The STN (n)=LTrim (Mid (rowDataStr (n + 5), 5, 8))
Fr (n)=LTrim (Mid (rowDataStr (n + 5), 14, 11))
R (n)=LTrim (Mid (rowDataStr (n + 5), 37, 10))
Ph (n)=LTrim (Mid (rowDataStr (n + 5), 48, 7))
Chart1. Series (" Res ".) Points. The AddXY (Log10 (fr) (n), Log10 (r (n)))
Chart2. Series (" Phase "). The Points. The AddXY (Log10 (fr) (n), ph (n))
Next

CodePudding user response:

Chart2. ChartAreas. The Clear () 'Clear all plot
Chart2. Legends. The Clear () 'Clear illustrations show
Dim newChartAreas2 As New ChartArea (" Default ") 'New plot
Chart2. ChartAreas. Add (newChartAreas2)
Dim newLegends2 As New Legend (legendName) 'New illustrations show
Chart2. Legends. The Add (newLegends2)
Chart2. ChartAreas (" Default "). The Position, Height=100 'painting area percentage
Chart2. ChartAreas (" Default "). The Position, Width=100
Chart2. ChartAreas (" Default "). The AxisX. Title="Freq (Hz)" 'X name
Chart2. ChartAreas (" Default "). The AxisX. TitleAlignment=StringAlignment. Center 'X axis position title
Chart2. ChartAreas (" Default "). The AxisY. Title="Phase" 'Y name
Chart2. ChartAreas (" Default "). The AxisY. TitleAlignment=StringAlignment. Center 'Y position title
Chart2. ChartAreas (" Default "). The AxisX. Minimum=- 5
Chart2. ChartAreas (" Default "). The AxisX. Maximum=5
Chart2. ChartAreas (" Default "). The AxisX. LabelStyle. Format="0.00" X display Format
Chart2. ChartAreas (" Default "). The AxisX. MajorGrid. Enabled=True
Chart2. ChartAreas (" Default "). The AxisX. MajorGrid. Interval=1
Chart2. ChartAreas (" Default "). The AxisX. MajorGrid. LineColor=Color. LightGray
Chart2. ChartAreas (" Default "). The AxisX. MinorGrid. Enabled=True 'guides function enable time
Chart2. ChartAreas (" Default "). The AxisX. MinorGrid. Interval=0.2 'auxiliary line spacing for 10
Chart2. ChartAreas (" Default "). The AxisX. MinorGrid. LineColor=Color. LightSlateGray 'time auxiliary line Color to gray
'Chart1. ChartAreas (" Default "). The AxisX. Interval=1' Y axis of the main line spacing major
Chart2. ChartAreas (" Default "). The AxisX. MajorGrid. LineColor=Color. White


'Y numerical interval
Chart2. ChartAreas (" Default "). The AxisY. Minimum=- 3141
Chart2. ChartAreas (" Default "). The AxisY. Maximum=3141
The numerical interval 'Y
Chart2. ChartAreas (" Default "). The AxisY. MinorTickMark. IntervalOffset=0
Chart2. ChartAreas (" Default "). The AxisY. MajorGrid. Enabled=True
Chart2. ChartAreas (" Default "). The AxisY. MajorGrid. Interval=1000
Chart2. ChartAreas (" Default "). The AxisY. MajorGrid. LineColor=Color. LightGray
Chart2. ChartAreas (" Default "). The AxisY. MinorGrid. Enabled=True 'guides function enable time
Chart2. ChartAreas (" Default "). AxisY. MinorGrid. Auxiliary line spacing Interval=200 'time is 10
Chart2. ChartAreas (" Default "). The AxisY. MinorGrid. LineColor=Color. LightSlateGray 'time auxiliary line Color to gray
Chart2. ChartAreas (" Default "). The AxisY. Interval Y=500 'line spacing major
Chart2. ChartAreas (" Default "). The AxisY. MajorGrid. LineColor=Color. White

Chart2. Series. The Clear () 'Clear all data sets
Dim newSeries2 As New Series (" Phase ")
NewSeries2. ChartType=SeriesChartType. Point
NewSeries2. BorderWidth=2
NewSeries2. Color=Color. Green
NewSeries2. XValueType=ChartValueType. Double
NewSeries2. IsValueShownAsLabel=False
NewSeries2. MarkerStyle=MarkerStyle. Square
Chart2. Series. The Add (newSeries2)


nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related