Relative Content

Tag Archive for gnuplot

How to silence gnuplot warning when plotting /dev/null

I would like to have a gnuplot script which may or may not plot a file depending on some condition. Using /dev/null if I don’t have to plot a file works, but gives a “Skipping data file with no valid points” warning that I would like to silence.

Plotting financial data Renko-style in gnuplot

I’ve got OHLC data for the S&P 500 that I would like to plot as a so-called Renko plot ( https://en.wikipedia.org/wiki/Renko_chart ) in gnuplot. I have transformed the OHLC data to fixed-size bricks represented in data.dat as the upper and lower diagonal corners of rectangles:

Setting xrange starting 2 days back

I am trying to draw a few graphs relative to a time axis that should automatically draw anything from the samle starting 2 days back since time of plotting. I couldn’t figure it out with gnuplot’s mechanics, so did this