Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.gal.iecc.com!not-for-mail From: Ethan A Merritt Newsgroups: comp.graphics.apps.gnuplot Subject: Re: plotting rectangle in a loop Date: Tue, 05 Sep 2017 22:56:59 -0700 Organization: A noiseless patient Spider Lines: 20 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Wed, 6 Sep 2017 05:57:10 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="gal.iecc.com:64.57.183.53"; logging-data="20858"; mail-complaints-to="abuse@iecc.com" User-Agent: KNode/4.14.5 Funky-Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Funky-Injection-Info: reader.eternal-september.org; posting-host="9f32c3d6b2bc50ee244dcf79ef0a3ac3"; logging-data="7360"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bICOsMOJZagPGkNzFKzpz" Cancel-Lock: sha1:ZN01NvpNZaPaFLsWW3IviR8htzY= Funky-Xref: news.eternal-september.org comp.graphics.apps.gnuplot:6831 Xref: csiph.com comp.graphics.apps.gnuplot:3743 dfgibarac@gmail.com wrote: > I have in the code several > set object > command and want to have them in a loop taking object coordinates > from the file like doing it when plotting. How can I do it? If the objects are rectangles you can do plot 'data' with boxxy If the objects are circles you can do plot 'data' with circles If the objects are ellipses then plot 'data' with ellipses For general polygons it may be possible but probably not worth the effort compared to simply editing the data file to contain gnuplot commands and using "load polygon_commands".