Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4282

Re: How to generate series of plots programmatically?

Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to generate series of plots programmatically?
Date Fri, 10 Jan 2020 19:25:34 +0100
Organization solani.org
Lines 35
Message-ID <qvafio$rae$1@solani.org> (permalink)
References <qv80lr$n7k$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1578680728 27982 127.0.0.43 (10 Jan 2020 18:25:28 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Fri, 10 Jan 2020 18:25:28 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
In-Reply-To <qv80lr$n7k$1@dont-email.me>
Content-Language de-DE-1901
X-User-ID eJwFwYEBwCAIA7CXitIyz0EG/59gwi1ThYtyDgcWY/qiVQKU/Ec22OsiIRTR59BvL/dc2Q8GlRCK
Cancel-Lock sha1:FMwc4sLviJxU1MO3/LFu8mD5joY=
Xref csiph.com comp.graphics.apps.gnuplot:4282

Show key headers only | View raw


Several possibilities, check "help do", and "help plot for".

The range iteration is a bit tricky with "plot for" i think, the "do
for [] {}" loop has the disadvantage that you need to have a plot
already before iterating through you data with "replot". Try
generating an empty plot beforehand, e.g. via

     plot 0 lc rgb "white" notitle

if necessary.

  Karl

Am 09.01.2020 um 20:58 schrieb Henryk Nowicki:
> Hi, all!
> 
> How to generate series of plots with exactly the same numbers of finance bars on the
> each plot?
> 
> What I want interactively can be achievid with something like this:
> 
> ....
> set xrange[0:100]
> replot
> set xrange[100:200]
> replot
> set xrange[200:300]
> replot
> set xrange[300:400]
> replot
> set xrange[400:500]
> 
> etc. to the end of datafile
> 

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

How to generate series of plots programmatically? Henryk Nowicki <"Henryk Nowicki"@doe.com> - 2020-01-09 19:58 +0000
  Re: How to generate series of plots programmatically? Karl Ratzsch <mail.kfr@gmx.net> - 2020-01-10 19:25 +0100

csiph-web