Re: [R] Graphical output: dials and meters for a dashboard?

From: Parker Jones <zoubidoo_at_hotmail.com>
Date: Thu, 17 Jan 2008 01:51:32 +1200

> You can do a basic dial with something like this:
>

Thanks Jim. After installing plotrix I still had a bit of trouble getting this to work and I don't (yet) know enough R to fix it:

> speedoplot(0.5,5,5,2,"Speedoplot")

Error in polygon(xv, yv, border = border, col = col, lty = lty, lwd = lwd) :

        plot.new has not been called yet

But the error went away if I plotted something else first.

Also the colour bands are skewed - but that may just be a side-effect of my other plot.

> and if you want something fancier, you can call a 3D renderer like POVRay:
>
> http://www.povray.org
>
> to render very realistic objects.

Sounds interesting, but probably a bit overkill at this stage.

Thanks again for coding up the dial!
PJ



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 16 Jan 2008 - 13:55:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 Jan 2008 - 14:00:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive