9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Getting output from plot(1)
@ 2007-03-22 22:38 John Floren
  2007-03-23  0:31 ` Steve Simon
  2007-03-23  0:56 ` Federico Benavento
  0 siblings, 2 replies; 5+ messages in thread
From: John Floren @ 2007-03-22 22:38 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I'm writing a little script to make venti usage graphs, and now that
I'm near the end I'm trying to use plot(1) to plot my data. However, I
can't seem to figure out any way of actually getting plot's output
into something like a png file. Suggestions?
Thanks

John Floren
-- 
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Getting output from plot(1)
  2007-03-22 22:38 [9fans] Getting output from plot(1) John Floren
@ 2007-03-23  0:31 ` Steve Simon
  2007-03-23  0:54   ` erik quanstrom
  2007-03-23  0:56 ` Federico Benavento
  1 sibling, 1 reply; 5+ messages in thread
From: Steve Simon @ 2007-03-23  0:31 UTC (permalink / raw)
  To: 9fans

the only output driver for plot on plan9 is /dev/draw, you can
display it and then grab the image from /dev/wsys - not so easy
from cron though.

You could use grap(1) but you can only get to ps and pdf
from there (I think).

-Steve


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Getting output from plot(1)
  2007-03-23  0:31 ` Steve Simon
@ 2007-03-23  0:54   ` erik quanstrom
  0 siblings, 0 replies; 5+ messages in thread
From: erik quanstrom @ 2007-03-23  0:54 UTC (permalink / raw)
  To: 9fans

why not save the plot(6) format output and format it later?

the easy solution is to have  plot(1) create an image.

it would be even more interesting if rio could use a fake
framebuffer.

it's a short step from 1 fake frame buffer to n fake 
framebuffers and 1 real one.  this has got to be more
interesting that porting the sdmv50xx driver to the cpu
kernel. ;-)

- erik


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Getting output from plot(1)
  2007-03-22 22:38 [9fans] Getting output from plot(1) John Floren
  2007-03-23  0:31 ` Steve Simon
@ 2007-03-23  0:56 ` Federico Benavento
  2007-03-23  7:40   ` Gabriel Diaz
  1 sibling, 1 reply; 5+ messages in thread
From: Federico Benavento @ 2007-03-23  0:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

hola,

I think gabriel diaz wrote something like what you are looking for,
it's somewhere in www.9grid.es (I can't tell where, because it's not
reachable from here.)

On 3/22/07, John Floren <slawmaster@gmail.com> wrote:
> I'm writing a little script to make venti usage graphs, and now that
> I'm near the end I'm trying to use plot(1) to plot my data. However, I
> can't seem to figure out any way of actually getting plot's output
> into something like a png file. Suggestions?
> Thanks
>
> John Floren
> --
> Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
>


-- 
Federico G. Benavento


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Getting output from plot(1)
  2007-03-23  0:56 ` Federico Benavento
@ 2007-03-23  7:40   ` Gabriel Diaz
  0 siblings, 0 replies; 5+ messages in thread
From: Gabriel Diaz @ 2007-03-23  7:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

hello

power outage, it will up up soon, i have done a small tool to print
snmp values using libmemdraw. it should be on
sources/contrib/gabidiaz/snmp.tbz (drawvars.c)

slds.

gabi


On 3/23/07, Federico Benavento <benavento@gmail.com> wrote:
> hola,
>
> I think gabriel diaz wrote something like what you are looking for,
> it's somewhere in www.9grid.es (I can't tell where, because it's not
> reachable from here.)
>
> On 3/22/07, John Floren <slawmaster@gmail.com> wrote:
> > I'm writing a little script to make venti usage graphs, and now that
> > I'm near the end I'm trying to use plot(1) to plot my data. However, I
> > can't seem to figure out any way of actually getting plot's output
> > into something like a png file. Suggestions?
> > Thanks
> >
> > John Floren
> > --
> > Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
> >
>
>
> --
> Federico G. Benavento
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-23  7:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-22 22:38 [9fans] Getting output from plot(1) John Floren
2007-03-23  0:31 ` Steve Simon
2007-03-23  0:54   ` erik quanstrom
2007-03-23  0:56 ` Federico Benavento
2007-03-23  7:40   ` Gabriel Diaz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).