table

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

table

Patrick Dupre
Hello,

I used to use set table to generate an output file.
However, in the file, I have the "i" (in range) and "o" (out of range)
data.

Can I get only the in range data?

I try [:] to set the range, but it does not work.

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
|  
Report Content as Inappropriate

Re: table

Patrick Dupre
If I understand the patch
#694 Add options to set table command

set table "outputfile.asc" clip

should work, but I get me an error:

unexpected or unrecognized token

Is the patch implemented in Version 5.0 patchlevel 5?

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
===========================================================================


> Sent: Monday, July 17, 2017 at 2:58 PM
> From: "Patrick Dupre" <[hidden email]>
> To: gnuplot <[hidden email]>
> Subject: [Gnuplot-info] table
>
> Hello,
>
> I used to use set table to generate an output file.
> However, in the file, I have the "i" (in range) and "o" (out of range)
> data.
>
> Can I get only the in range data?
>
> I try [:] to set the range, but it does not work.
>
> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: table

tmacchant
----- Original Message -----

>
> If I understand the patch
> #694 Add options to set table command
>
> set table "outputfile.asc" clip
>
> should work, but I get me an error:
>
> unexpected or unrecognized token
>
> Is the patch implemented in Version 5.0 patchlevel 5?
>
No.
But you can apply the patch and build the gnuplot by yourself.


Tatsuro


------------------------------------------------------------------------------
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
|  
Report Content as Inappropriate

Re: table

tmacchant
>>  If I understand the patch

>>  #694 Add options to set table command
>>
>>  set table "outputfile.asc" clip
>>
>>  should work, but I get me an error:
>>
>>  unexpected or unrecognized token
>>
>>  Is the patch implemented in Version 5.0 patchlevel 5?
>>
> No.
> But you can apply the patch and build the gnuplot by yourself.
>
Please see the reply by Karl Ratzsch in the patch ticket #694.
https://sourceforge.net/p/gnuplot/patches/694/

That is probably what you want.

Tatsuro


------------------------------------------------------------------------------
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
|  
Report Content as Inappropriate

Re: table

Patrick Dupre
In reply to this post by tmacchant
Thank,

Could you give the procedure to implement the patch ?
I have a fedora distribution.


===========================================================================
 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
===========================================================================


> Sent: Tuesday, July 18, 2017 at 1:52 AM
> From: "Tatsuro MATSUOKA" <[hidden email]>
> To: "Patrick Dupre" <[hidden email]>
> Cc: [hidden email]
> Subject: Re: [Gnuplot-info] table
>
> ----- Original Message -----
>
> >
> > If I understand the patch
> > #694 Add options to set table command
> >
> > set table "outputfile.asc" clip
> >
> > should work, but I get me an error:
> >
> > unexpected or unrecognized token
> >
> > Is the patch implemented in Version 5.0 patchlevel 5?
> >
> No.
> But you can apply the patch and build the gnuplot by yourself.
>
>
> Tatsuro
>
>

------------------------------------------------------------------------------
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
|  
Report Content as Inappropriate

Re: table

tmacchant
>>  >

>>  > If I understand the patch
>>  > #694 Add options to set table command
>>  >
>>  > set table "outputfile.asc" clip
>>  >
>>  > should work, but I get me an error:
>>  >
>>  > unexpected or unrecognized token
>>  >
>>  > Is the patch implemented in Version 5.0 patchlevel 5?
>>  >
>>  No.
>>  But you can apply the patch and build the gnuplot by yourself.
>>
>>
>>  Tatsuro
>>
>T hank,
>
> Could you give the procedure to implement the patch ?
> I have a fedora distribution.

For Unixy environments, I have experiences for CYGWIN and Ubuntu.

1. Download source tar ball from SourceForge site.
https://sourceforge.net/projects/gnuplot/
Files -> (each version)

2. Extract source tar ball.

3. Read INSTALL file carefully and prepare dependencies (dynamic link libraries and development files.)

4. Apply patch with patch command
$ cd (source root directory)
$ patch -p1 < (patch file name)

5. Configure with properly setting environments variables

6. make  and make check.

If you have no experience with Unix build, please ask experts.

Tatsuro

------------------------------------------------------------------------------
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
|  
Report Content as Inappropriate

Re: table

Patrick Dupre
Thank Tatsuro,

I have an issue with
patch -p1 < ../gnuplot-5.0.0-tabulate.patch
(Stripping trailing CRs from patch; use --binary to disable.)
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: docs/gnuplot.doc
|===================================================================
|RCS file: /cvsroot/gnuplot/gnuplot/docs/gnuplot.doc,v
|retrieving revision 1.895
|diff -u -r1.895 gnuplot.doc
|--- docs/gnuplot.doc 17 Jun 2014 05:39:30 -0000 1.895
|+++ docs/gnuplot.doc 20 Jun 2014 08:38:13 -0000
--------------------------
File to patch:



===========================================================================
 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
===========================================================================


> Sent: Tuesday, July 18, 2017 at 11:57 AM
> From: "Tatsuro MATSUOKA" <[hidden email]>
> To: "Patrick Dupre" <[hidden email]>
> Cc: [hidden email]
> Subject: Re: [Gnuplot-info] table
>
> >>  >
>
> >>  > If I understand the patch
> >>  > #694 Add options to set table command
> >>  >
> >>  > set table "outputfile.asc" clip
> >>  >
> >>  > should work, but I get me an error:
> >>  >
> >>  > unexpected or unrecognized token
> >>  >
> >>  > Is the patch implemented in Version 5.0 patchlevel 5?
> >>  >
> >>  No.
> >>  But you can apply the patch and build the gnuplot by yourself.
> >>
> >>
> >>  Tatsuro
> >>
> >T hank,
> >
> > Could you give the procedure to implement the patch ?
> > I have a fedora distribution.
>
> For Unixy environments, I have experiences for CYGWIN and Ubuntu.
>
> 1. Download source tar ball from SourceForge site.
> https://sourceforge.net/projects/gnuplot/
> Files -> (each version)
>
> 2. Extract source tar ball.
>
> 3. Read INSTALL file carefully and prepare dependencies (dynamic link libraries and development files.)
>
> 4. Apply patch with patch command
> $ cd (source root directory)
> $ patch -p1 < (patch file name)
>
> 5. Configure with properly setting environments variables
>
> 6. make  and make check.
>
> If you have no experience with Unix build, please ask experts.
>
> Tatsuro
>

------------------------------------------------------------------------------
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
|  
Report Content as Inappropriate

Re: table

tmacchant


> I have an issue with
> patch -p1 < ../gnuplot-5.0.0-tabulate.patch
> (Stripping trailing CRs from patch; use --binary to disable.)

> can't find file to patch at input line 8
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: docs/gnuplot.doc
> |===================================================================
> |RCS file: /cvsroot/gnuplot/gnuplot/docs/gnuplot.doc,v
> |retrieving revision 1.895
> |diff -u -r1.895 gnuplot.doc
> |--- docs/gnuplot.doc    17 Jun 2014 05:39:30 -0000    1.895
> |+++ docs/gnuplot.doc    20 Jun 2014 08:38:13 -0000
> --------------------------
> File to patch:
>

> patch -p1 < ../gnuplot-5.0.0-tabulate.patch



How about the below?
patch -p0 < ../gnuplot-5.0.0-tabulate.patch


Tatsuro


------------------------------------------------------------------------------
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
|  
Report Content as Inappropriate

Re: table

tmacchant
In reply to this post by Patrick Dupre
perhaps patch file is for old for the current source file.  you may need to attach the patch manually by a text editor.

Tatsuro

--- Patrick Dupre wrote:

> Thank,
>
> It is better, but still
> Is it OK?
>
> patch -p0 < ../gnuplot-5.0.0-tabulate.patch
> (Stripping trailing CRs from patch; use --binary to disable.)
> patching file docs/gnuplot.doc
> Hunk #1 succeeded at 12339 (offset 351 lines).
> (Stripping trailing CRs from patch; use --binary to disable.)
> patching file src/set.c
> Hunk #1 succeeded at 4720 (offset 177 lines).
> Hunk #2 succeeded at 4741 (offset 177 lines).
> (Stripping trailing CRs from patch; use --binary to disable.)
> patching file src/tabulate.c
> Hunk #1 succeeded at 62 with fuzz 1.
> Hunk #2 succeeded at 152 (offset 4 lines).
> Hunk #3 succeeded at 217 (offset 4 lines).
> Hunk #4 succeeded at 248 (offset 7 lines).
> Hunk #5 succeeded at 265 (offset 7 lines).
> Hunk #6 FAILED at 358.
> 1 out of 6 hunks FAILED -- saving rejects to file src/tabulate.c.rej
> (Stripping trailing CRs from patch; use --binary to disable.)
> patching file src/tabulate.h
> (Stripping trailing CRs from patch; use --binary to disable.)
> patching file src/unset.c
> Hunk #1 succeeded at 1553 (offset 58 lines).
>
>
> ===========================================================================
> 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
> ===========================================================================
>
>
> > Sent: Tuesday, July 18, 2017 at 12:37 PM
> > From: "Tatsuro MATSUOKA" <[hidden email]>
> > To: "Patrick Dupre" <[hidden email]>
> > Cc: [hidden email]
> > Subject: Re: [Gnuplot-info] table
> >
> >
> >
> > > I have an issue with
> > > patch -p1 < ../gnuplot-5.0.0-tabulate.patch
> > > (Stripping trailing CRs from patch; use --binary to disable.)
> >
> > > can't find file to patch at input line 8
> > > Perhaps you used the wrong -p or --strip option?
> > > The text leading up to this was:
> > > --------------------------
> > > |Index: docs/gnuplot.doc
> > > |===================================================================
> > > |RCS file: /cvsroot/gnuplot/gnuplot/docs/gnuplot.doc,v
> > > |retrieving revision 1.895
> > > |diff -u -r1.895 gnuplot.doc
> > > |--- docs/gnuplot.doc    17 Jun 2014 05:39:30 -0000    1.895
> > > |+++ docs/gnuplot.doc    20 Jun 2014 08:38:13 -0000
> > > --------------------------
> > > File to patch:
> > >
> >
> > > patch -p1 < ../gnuplot-5.0.0-tabulate.patch
> >
> >
> >
> > How about the below?
> > patch -p0 < ../gnuplot-5.0.0-tabulate.patch
> >
> >
> > Tatsuro
> >
> >
>

------------------------------------------------------------------------------
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
Loading...