From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Sun, 27 Nov 2016 17:12:38 -0500 Message-Id: References: <5A3F1C68-FA3A-495B-971B-37CBBCB37F2D@gmail.com> <1B0FE8DB-79FE-4005-A647-08701C1D1876@quintile.net> In-Reply-To: <1B0FE8DB-79FE-4005-A647-08701C1D1876@quintile.net> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Using plot(1) Topicbox-Message-UUID: af6398c2-ead9-11e9-9d60-3106f5b1d025 Thanks, > not sure what you mean by pipe the output, if you want to save the graph > you need to do that by grabbing the window, there could be things like gif= plot which render the plot command stream into a gif, but it doesn't (yet). Yes, this is what I was after. I'll try fetching the window buffer and extra= ct it from there. I'll see if a command line switch can be added easily to p= lot to do just that. > i am pretty sure graph has a "don't clear the screen" option if that will d= o for you, > however my suspicion is that if you close and reopen the stream to plot it= will > clear and redraw the screen. i thing (guess) that you would need to send a= ll your > plot commands in a single stream. I was thinking that if plot didn't automatically clear the window (maybe wit= h an option) you could add a background to the plot. Another option could be= for plot to have an image command that imports and draws one from a file. >> o >> ra -1.0 -1.0 1.0 1.0 >> e >> co r >> cf r >> di 0.0 0.0 1.0 >> co k >> li 0.0 -1.0 0.0 1.0 >> li -1.0 0.0 1.0 0.0 >> cl I tried this same plot program on a raspberry Pi with much slower graphics a= nd I noticed that the red circle is drawn for an instant and then disappears= behind a white box that covers most of it. I tried it without the lines and= it's the same thing. Not sure what is clipping the circle. Very strange. Chris=