plot derivative; plot with points



Hi all.

I have two different queries on Gnuplot features:
(1) Is it possible to plot derivative of a data file? In other words,
if I have a data file that gives y-data as a function of x-data, can I
plot dy/dx in Gnuplot from the data file?
(2) I have a data file with many data points. I plot it 'with points'
option. The problem is that where the curve is flat (horizontal), the
points are too much dense, giving a thick-line like look, and where
the curve is steep, the points look rarer and the plot is ok. If I use
the 'every' option, say 'every 2', then the problem is lessened in the
denser region, but the plot becomes rarer in the already rare region,
and this is not desirable. Is there a way in which I can plot the
curve 'with points' with variable point density in the different parts
or ranges of the plot?
(I use Gnuplot version 4.0)

Thankyou

.



Relevant Pages

  • i=2; p data u 1:($i)
    ... it was the most meaningful string I was able to ... I would like to plot a data file by ... I would find this feature mostly useful when using gnuplot ...
    (comp.graphics.apps.gnuplot)
  • i=2; p data u 1:($i)
    ... it was the most meaningful string I was able to ... I would like to plot a data file by ... I would find this feature mostly useful when using gnuplot ...
    (comp.graphics.apps.gnuplot)
  • Re: plot derivative; plot with points
    ... if I have a data file that gives y-data as a function of x-data, ... that does the differentiation and feeds the data into Gnuplot. ... the points look rarer and the plot is ok. ... denser region, but the plot becomes rarer in the already rare region, ...
    (comp.graphics.apps.gnuplot)
  • splot for something matrix-like, multiple surfaces, etc.
    ... I'm pretty fresh to gnuplot, so sorry if this is a noob questions. ... I can easily get gnuplot to plot each tweak column as a line. ... (the data file would be large, ... even though much of the second surface is "behind" the first surface ...
    (comp.graphics.apps.gnuplot)
  • Reading ASCII text file with variable / unknown format - part 2
    ... and then plot the same parameters for Run #2 ... contains: time, message count, widget) ... x axis label = "position") ... more than 1 data file, I would just plot that extra data onto the same ...
    (comp.soft-sys.matlab)