Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1465

Re: Skipping data file with no valid points

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Skipping data file with no valid points
Followup-To comp.graphics.apps.gnuplot
Date 2012-11-04 15:30 -0800
Organization gnuplot development team
Message-ID <k76tr6$nd$1@dont-email.me> (permalink)
References <6d2d9f74-3046-4a0d-ba73-fa4c1c833a2d@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


erikzweigle@gmail.com wrote:

> Hello,
> 
> I have a single .xlsx file that contains the data I'd like to plot. 
> After reading Gnuplot in Action I only see Janert using .dat & .txt
> file formats.  So, on my mac I 'save as' to .txt 'tab delimited' (as
> opposed to the other two .txt options of MS-DOS & Windows formatted). 
> Then I navigate to the directory of interest in Terminal, launch
> gnuplot and type -- plot "trial.txt" u 1:3 w lp  -- with no luck
> (warning: Skipping data file with no valid points).

gnuplot> set datafile separator '\t'
gnuplot> plot ...

> I tried adding a # to the first line.  I tried alternative .txt
> formats.  

You might have to do that also, depending on the plot commands
you are using. 
	
	Ethan



> I manually re-created the first ten entries in my TextEdit
> app only to find out there is no save as option for .txt files (wtf?).
>  Then I re-created in Xcode which saved it with no file extension BUT
> it plots as expected.  Copying and pasting from the xlsx file into a
> blank Xcode file and saving also works as expected.
> 
> Can someone provide pointers so that I do not have to do this each
> time I want to play with my data?
> 
> In case it was not obvious, I am within my first 4 hours learning
> gnuplot - and Janert's book is great but I'm having trouble getting
> going with real data sets I'd like to analyze.
> 
> Thanks.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Skipping data file with no valid points erikzweigle@gmail.com - 2012-11-04 15:16 -0800
  Re: Skipping data file with no valid points sfeam <sfeam@users.sourceforge.net> - 2012-11-04 15:30 -0800
    Re: Skipping data file with no valid points erikzweigle@gmail.com - 2012-11-04 16:20 -0800
      Re: Skipping data file with no valid points "Alex van der Spek" <zdoor@xs4all.nl> - 2012-11-06 11:54 +0100
        Re: Skipping data file with no valid points Erik Zweigle <erikzweigle@gmail.com> - 2012-12-06 23:29 -0800

csiph-web