Topic: Plot from importing file of two columns

I have regular  text file with two columns .
It has many point. Really, this some kind of Spectra.
First column is period ( periods ends on 48 hours),
second column is spectrum power.
Here is some part of this file
   1.111111E-03    1.000287E-01
    2.222222E-03        2.938184
    3.333333E-03    4.245217E-01
    4.444445E-03        1.440894
    5.555556E-03        3.150032
    6.666667E-03        2.251325
    7.777778E-03        2.011262
    8.888889E-03    6.345273E-01
    1.000000E-02    6.898192E-01
    1.111111E-02    2.588695E-01
    1.222222E-02        4.304943
    1.333333E-02        3.029828
    1.444444E-02    9.338255E-02
    1.555556E-02        3.833434
    1.666667E-02    5.056992E-01
    1.777778E-02        1.204473
    1.888889E-02        5.045197
    2.000000E-02        5.724274
When I use Import file, I got 14 series, each one from 2 points
instead of getting only one , where first column is X ordinate and second
column is y amplitude. This very trivial thing. When I had win32, I used EPW
soft, which do this thing for second.  Under win62 EPW does not work, so I desperately
try to find some other soft. Thanks in advance, Vladimir.

Re: Plot from importing file of two columns

What is it can you tell me ??

Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 811 Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 811 Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 811 Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 811 Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 811 Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 811 Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 811 Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 811 Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 811 Deprecated: Function create_function() is deprecated in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 816

Re: Plot from importing file of two columns

Graph gets confused because there are several spaces between the numbers. It assumes you have one space between each column, which is why you get several point series. When you use File|Import|Point series you can only have one separator, which can be space, tab, semicolon or comma, between the numbers. Alternatively You can use Import from file from the context menu inside the Insert point series dialog. It doesn't do as much guessing and should work with several spaces.

Re: Plot from importing file of two columns

Thanks a lot. I shall try to follow your advice.
It looks a little bit strange because I have prepared
file inside my Fortran program by simple write command,
that has nothing to do with any separator or separators numbers
command looks like this
      cres = sqrt(c1(i)**2+c2(i)**2)
      write(2,*)per(i), cres
Best wishes from Russia, EX MVP, math and physics phd,
  Vladimir Zhuravlev