Dear all, Has anybody ever written some plot / hist functions that would return PlotML code? [http://ptolemy.eecs.berkeley.edu/] Regards, Gregoire
Gregoire Thomas <gregoire.thomas at ugent.be> writes:> Dear all, > Has anybody ever written some plot / hist functions that would return > PlotML code? [http://ptolemy.eecs.berkeley.edu/]Not that I know of, and looking at the design of PlotML, it doesn't look like a nice fit as an R device driver. PlotML works at the level of data sets, bar graphs, axes, etc., not with low-level items like lines, polygons, and text. There are general XML handling tools in the XML package, though. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
> > Has anybody ever written some plot / hist functions that would return > > PlotML code? [http://ptolemy.eecs.berkeley.edu/] > <http://ptolemy.eecs.berkeley.edu/%5D> > > Not that I know of, and looking at the design of PlotML, it doesn't > look like a nice fit as an R device driver. PlotML works at the level > of data sets, bar graphs, axes, etc., not with low-level items like > lines, polygons, and text. There are general XML handling tools in the > XML package, though.Thx. I've wrapped up a couple of functions into a package that does what I need. In case somebody is interested I've put it with an example at: http://penyfan.ugent.be/ptplot/ . Note that you might also need to install R2HTML. Regards, Gregoire