Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Filledcurves with functions? Followup-To: comp.graphics.apps.gnuplot Date: Mon, 18 Jul 2011 09:53:01 -0700 Organization: gnuplot development team Lines: 29 Message-ID: References: <98i5fnFhe3U1@mid.individual.net> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Mon, 18 Jul 2011 16:53:02 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="627"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kS3Aldq9zGIzF+bjBHtWh" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:gGqTHum3OmhU191ETi7WsnzQ/k4= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:449 Ingo Thies wrote: > Hi, > > is there a way to use the filledcurves style with two functions (between > them the curve is to be filled) instead of data files? gnuplot.pdf > suggests that fill between two curves is only possible for two data > sets, but this would be a quite strong restriction, since single-curve > fill (i.e. between curve and axis) is possible even with functions. set xrange [0:10] plot '+' using 1:(sin($1)):(cos($1)) with filledcurves See 'help special-filenames' > > Another possibility would be the use of "set table", but this would > require to write more than two data columns, and I cannot see how to do > this. Plotting multiple datasets results in multiple data blocks rather > than multiple y columns. > > Therefore, the only way I can see now is to invoke an external program > or to manually edit the written table. > > Any hints? > > Ingo