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


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

Re: Discontinuities in fill plot

Newsgroups comp.graphics.apps.gnuplot
Date 2014-01-13 17:41 -0800
References <5c049f40-c989-4fa8-8945-6a03cfdfff63@hh9g2000vbb.googlegroups.com>
Message-ID <94137469-3f70-455a-a38f-0d7c93e7a77c@googlegroups.com> (permalink)
Subject Re: Discontinuities in fill plot
From marcell.missura@gmail.com

Show all headers | View raw


The problem disappears when instead of plotting with a filledcurve style, you explicitly define a polygon with the "set object" command. 

set object 1 polygon fc rgb 'red' front \
from 0 , 0.0886798 \
to 0.01 , 0.0938408 \
to 0.02 , 0.0990018 \
# ... add more points as you please

plot 'something'

The "set object" man page is of great help.

You cannot use the same data file this way, but if you have a program that generates your data, then you can easily modify it a little to output the polygon object for you. Or you can use a macro or search and replace with regular expressions to modify your data file to polygon object syntax.

Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar


Thread

Re: Discontinuities in fill plot marcell.missura@gmail.com - 2014-01-13 17:41 -0800

csiph-web