|
From: Ethan A M. <eam...@gm...> - 2018-11-10 19:27:12
|
On Saturday, 10 November 2018 20:14:53 theozh wrote: > Thank you again! > I am not familiar with Win Powershell... would take a while to figure out. > > But do you have an idea why Method2 gets this space at the beginning of the line? "with table" places a " " character at the front of every field. This insures that the fields can be distinguish even if you mess up in specifying a field separator. Ethan > > ### Read file to datablock > reset session > FILE = "Test.dat" > set datafile separator "\n" > set datafile commentschar "" > > # Method2 > set table $Data2 > plot FILE u (stringcolumn(1)) with table > unset table > print $Data2 > > > Am 10.11.2018 um 19:30 schrieb Ethan A Merritt: > > On Saturday, 10 November 2018 19:02:12 theozh wrote: > >> Thanks, in priciple a nice idea. > >> But probably works only under Linux?! > >> I guess 'cat' doesn't exists in a simple Win7 system. > >> I tried with 'type' instead, but no success. > > > > I can't help with Windows. > > A quick bit of googling suggests that the equivalent of > > "cat" in the Windows PowerShell is "get-content". But I > > do not know whether that works from inside gnuplot. > > > > Ethan > > > > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |