Dear R experts,

it would be very kind if you could help me with two wireplot problems.

First, when I make a wireplot and transform it into an .eps using the 
postscript function the eps-file leaves always a lot of space below the plot, 
as if it would leave space for a legend or something like that.
How can i get the plot into the bottom corner without the space below? The 
space is not there when I just display the plot in R on my screen (I use 
R.2.3.1 on Windows XP). Or in general, how can I get the margins on all sides 
as small as possible since I wnat to include the eps into a report and do not 
need the space around.

The following code has the space on the eps:

library(lattice)
 plot.vol <- wireframe(volcano, aspect = 1, scales=list(arrows=F) 
,zlab=list("Z-axis",rot=90))

postscript("example_plot.eps", width = 14.0/2.54, height = 19.0/2.54,
                horizontal = FALSE, onefile = FALSE,paper="special")

trellis.par.set("axis.line",list(alpha=1,col=1,lty=0,lwd=1))

print(plot.vol)

dev.off()


Secondly, is it possible to add to the wireplot a further z-axis. I found only 
how to choose at which veritcal line I want the tickmarks and label, but is it 
also possible to have it at two vertical lines?

Thank you very much for your help!

Klaus
-- 



Echte DSL-Flatrate ab 0,- Euro* http://www.gmx.net/de/go/dsl

______________________________________________
[email protected] 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.

Reply via email to