|
From: ivana r. <iva...@mf...> - 2018-07-26 10:46:19
|
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 >> > >> > |