Oliver Bandel
2008-Oct-09 09:34 UTC
[R] plot-parameter pch without influence when plotting a data-frame
Hello, I'm plotting a data-frame and use plot(......., pch=...) as well as setting pch with par(pch=...) but always get the default symbol (circle) for the plots. Does pch have no effect, when plotting a complete data-frame, instead of certain values/vectors? How to change the behaviour? Do I have to change the print-function? TIA, Oliver
Oliver Bandel
2008-Oct-09 13:00 UTC
[R] plot-parameter pch without influence when plotting a data-frame
Zitat von "Gerhard Sch?n, UKE Hamburg" <G.Schoen at uke.de>:> what is the result of: > > df <- data.frame(x = 1:5, y = 1:5) > plot(df, pch = 1:5)It prints different symbols. It seemed, that my pch-settings had an effect, but some symbols were very similar, especially, when a lot of them are plotted at similar places. But I also had the effect, that some symbol numbers didn't print enything, but *after* the loop I used, warnings were printed. Do you know how to plot very small dots? pch=20 makes dots that are too big for my plot. Is there a possibility to have more detailed control on the symbols? Ciao, Oliver