Hi everyone, I have just received a bug from one of my students. It concerns the pictex command to produce plots in latex format. It seems to add lines on the graph even in the most simplest cases. For example, try the following quadratic curve: plot(1:11,(-5:5)^2,type="b",main="Simple Example Plot") Now, saving the plot with the following command: pictex("plot.tex") plot(1:11,(-5:5)^2,type="b",main="Simple Example Plot") dev.off() and then latex the file using the example in the help page as \documentclass{article} \begin{document} \begin{figure}[h] \centerline{\input{plots.tex}} \end{figure} \end{document} produces a plot with an additional line (a diagonal line going all the way through the plot from bottom left to top right). The error occurs on line 78 (out of 87) produced by pictex. Removing that latex command from the file (or commenting it out) corrects the problem in this case... but looking closer to how the axis are setup one can rapidely see that this is not done very efficiently and could perhaps be simplified (there are 4 lines super- imposing one another! just keeping the longest one would be enough). Hence, perhaps something is wrong in the driver at the axis level... As I said this problem was found by a student, as I use postscript to produce my graphs I was just told that all plots produced with pictex produced similar problems... but I don't know what happens in other cases than this simple example I got from the student. Hope this helps in fixing the problem. Patrick. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._