Keep in memory

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Keep in memory

Patrick Dupre
Hello,

I can plot a file, like
plot "< paste " . ARG1 . "| awk '!/^\#/ { print $1, $2 }' " using ($1-x0):2

How can I get the data in a variable ?

Then I could fit the data without reading the data again for example.

Thank.

===========================================================================
 Patrick DUPRÉ                                 | | email: [hidden email]
 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
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
Reply | Threaded
Open this post in threaded view
|

Re: Keep in memory

Ethan A Merritt-2
set table $TABLE1
plot "< paste " . ARG1 . "| awk '!/^\#/ { print $1, $2 }' " using ($1-x0):2
  with table
unset table

plot $TABLE1

On Mon, May 15, 2017 at 3:02 AM, Patrick Dupre <[hidden email]> wrote:

> Hello,
>
> I can plot a file, like
> plot "< paste " . ARG1 . "| awk '!/^\#/ { print $1, $2 }' " using ($1-x0):2
>
> How can I get the data in a variable ?
>
> Then I could fit the data without reading the data again for example.
>
> Thank.
>
> ============================================================
> ===============
>  Patrick DUPRÉ                                 | | email: [hidden email]
>  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
> [hidden email]
> Membership management via: https://lists.sourceforge.net/
> lists/listinfo/gnuplot-info
>
------------------------------------------------------------------------------
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
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info