|
From: ivana r. <iva...@mf...> - 2018-07-26 11:17:44
|
Hi Patrick, you can set table separator directly after table (see 'help table') but the troubles are probably elsewhere. I still cannot reproduce the behaviour you get. What is yours OS? Do you have the same troubles with completely new testing file or with datablock plotted from a function or set directly in gnuplot? Do you have the same troubles, if you save table to external file instead of gnuplot datablock? Did you check the original data-file for special chars (e.g., 'cat -A')? If nothing helps, could you send me the trouble-making file? Regards I. On 26 July 2018 at 12:57, Patrick Dupre <pd...@gm...> wrote: > Hello Eva, > > Same thing with ($1/1000):($3+0) > > But: > plot $DATA u 1:2 > warning: Skipping data file with no valid points > ^ > x range is invalid > plot $DATA u 0:1 plots the same as plot $DATA > > But > set datafile separator " " > gives > plot $DATA > warning: Skipping data file with no valid points > ^ > x range is invalid > > I guess that it is an issue with the formatting > > > > ============================================================ > =============== > Patrick DUPRÉ | | email: pd...@gm... > Laboratoire de Physico-Chimie de l'Atmosphère | | > Université du Littoral-Côte d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > ============================================================ > =============== > > > > Sent: Thursday, July 26, 2018 at 12:45 PM > > From: "ivana richterova" <iva...@mf...> > > To: "Patrick Dupre" <pd...@gm...> > > Cc: gnuplot <gnu...@li...> > > Subject: Re: [Gnuplot-info] set table > > > > Hi Patrick, > > > > even if you force two columns, e.g. 'plot $DATA u 1:2'? > > > > It seems to me that gnuplot take the table $DATA as it has only one > > numerical column. Is it possible that there are some special chars left? > > > > If so, it should help to get table via 'plot file using > > ($1/1000):($3+0)' instead as well. > > > > I. > > > > > > On 26/07/2018, Patrick Dupre <pd...@gm...> wrote: > > > Hello Iva, > > > > > > Thank for the feedback, > > > > > > print $DATA > > > # x y type > > > 4.41863e+07 -0.037085 i > > > 4.42347e+07 -0.039582 i > > > 4.42836e+07 -0.0414126 i > > > 4.43342e+07 -0.0432468 i > > > > > > seems OK, but > > > plot $DATA > > > the first column versus an index. > > > 0 4.41863e+07 > > > 1 4.42347e+07 > > > 2 4.42836e+07 > > > 3 4.43342e+07 > > > > > > ============================================================ > =============== > > > Patrick DUPRÉ | | email: > pd...@gm... > > > Laboratoire de Physico-Chimie de l'Atmosphère | | > > > Université du Littoral-Côte d'Opale | | > > > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > > > 189A, avenue Maurice Schumann | | 59140 Dunkerque, > France > > > ============================================================ > =============== > > > > > > > > >> Sent: Thursday, July 26, 2018 at 12:09 PM > > >> From: "ivana richterova" <iva...@mf...> > > >> To: "Patrick Dupre" <pd...@gm...> > > >> Cc: gnuplot <gnu...@li...> > > >> Subject: Re: [Gnuplot-info] set table > > >> > > >> Hi Patrick, > > >> > > >> > It does not work > > >> > > >> what do you mean, what happens, is there any error message? > > >> > > >> Anyhow, as the construction works in same cases, e.g. with a function > > >> to be plotted, there is probably some garbage in your data. Then > > >> 'using 1:2' should help as well. > > >> > > >> You can also check the $TABLE easily via: > > >> print $TABLE > > >> > > >> sincerely > > >> > > >> Iva > > >> > > >> On 26/07/2018, Patrick Dupre <pd...@gm...> wrote: > > >> > Hello, > > >> > > > >> > if I do > > >> > plot "070618_C2H2_R2_2ubar_1.txt" using ($1/1000):3 > > >> > > > >> > Every thing is OK > > >> > > > >> > If I do > > >> > > > >> > set table $DATA > > >> > plot "070618_C2H2_R2_2ubar_1.txt" using ($1/1000):3 > > >> > unset table > > >> > plot $DATA > > >> > > > >> > It does not work > > >> > > > >> > Why? > > >> > > > >> > Thank for your help. > > >> > > > >> > ============================================================ > =============== > > >> > Patrick DUPRÉ | | email: > > >> > pd...@gm... > > >> > Laboratoire de Physico-Chimie de l'Atmosphère | | > > >> > Université du Littoral-Côte d'Opale | | > > >> > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 > 44 > > >> > 189A, avenue Maurice Schumann | | 59140 Dunkerque, > > >> > France > > >> > ============================================================ > =============== > > >> > > > >> > ------------------------------------------------------------ > ------------------ > > >> > Check out the vibrant tech community on one of the world's most > > >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > >> > _______________________________________________ > > >> > gnuplot-info mailing list > > >> > gnu...@li... > > >> > Membership management via: > > >> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > >> > > > >> > > > > > > |