[R] Colorbar too wide in eps

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Nov 23 10:12:20 CET 2011



On 23.11.2011 03:33, Max Grönke wrote:
> Hi!
> When I plot my filled.contour plot
>> filled.contour(dat,color=rainbow,plot.axes=matrix.axes(dat),xlab=myxlab,ylab=myylab)
> everything looks fine on the screen.
>
> But if I wrap these two lines
>> postscript(file="myplot.eps",paper="special",width=4,height=4,family='Times',horizontal=FALSE)
> ...
>> dev.off()
> around the line above in order to create an eps file, the bar is much too wide.

Which bar? We cannot see it since your code is not reproducible.

Best,
Uwe Ligges


>
> I tried to play around the "witdh" parameter of the "postscript"
> command and tried to use the "legend.width" parameter on the
> "filled.contour" command - without success.
>
> Anybody ran into a similar problem once?
>
> Thanks for helping me out,
> Max
>
> ______________________________________________
> 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.



More information about the R-help mailing list