#20 New plotting style: impulsespoints

closed-rejected
None
5
2004-07-08
2002-02-14
No

Summary of changes (-7, +66 lines):

graph3d.c, graphics.c, hidden3d.c, misc.c, plot.h,
set.c, show.c
docs/gnuplot.doc

To apply this patch:

patch -p1 < gnuplot-3.7.1.patch

People doing signal processing work often have a need
to plot finite impulse response (FIR) filters using
both impulses and points (also known as stems). Stems
is the standard plotting style used by Matlab's Signal
Processing Toolbox. Although this can be faked by
plotting the data twice, this patch would eliminate
this need. Here is an example for plotting an FIR
filter:

set xlabel 'Sample number (n)'
set ylabel 'Amplitude'
set xzeroaxis
plot '-' notitle with impulsespoints
-0.1
1
-4
4
-1
0.1
e

For postscript terminals, the best pointtypes are 6 and
7.

Discussion

  • Tak-Shing Chan

    Tak-Shing Chan - 2002-02-14

    gnuplot-cvs impulsespoints patch

     
  • Tak-Shing Chan

    Tak-Shing Chan - 2002-02-14

    Logged In: YES
    user_id=279859

    The same patch updated to match the latest CVS version:

    patch -p1 < gnuplot.patch

     
  • Tak-Shing Chan

    Tak-Shing Chan - 2002-02-14

    gnuplot-doc-cvs impulsespoints patch

     
  • Tak-Shing Chan

    Tak-Shing Chan - 2002-02-14

    Logged In: YES
    user_id=279859

    Updated docs for the last gnuplot.patch:

    patch -p1 < gnuplot-doc.patch

     
  • Hans-Bernhard Broeker

    Logged In: YES
    user_id=27517

    Rejected, on the basis that it'd be a step towards creeping featurism,
    and that it's way out of date by now.

    This whole issue of plotting the same dataset with multiple plot styles at
    ones need more general treatment. Turning each and every
    combination of basic plot styles into plot style of its own is a futile
    exercise.

     
  • Hans-Bernhard Broeker

    • assigned_to: nobody --> broeker
    • status: open --> closed-rejected
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks