Micro-point with pch=16?
Since you won't be able to see the effect on-screen, how about a little script that post-processes the SVG? B.
On 2014-04-07, at 7:07 AM, ?????? ????????? wrote:
07.04.2014 12:51, Jim Lemon ?????:
On 04/07/2014 04:33 PM, ?????? ????????? wrote:
Hello! I'm trying to plot a 3D dataset as a scatter-plot, coding Z-axis values with point size. I pass the following parameters to "plot" function: type = 'p', pch = 16, cex = intensity/max(intensity) In my dataset, max(intensity)/min(intensity) is ~4000. However, visual points vary in radius by no more then 100 probably. Albeit default device isn't good at displaying micro-points, other devices (pdf, svg) can display such points just fine. Is there a way to produce micro-points with cex=0.001 and less?
Hi Andrey, As the points help page says: What happens for very small or zero values of cex is device-dependent: symbols or characters may become invisible or they may be plotted at a fixed minimum size.
Indeed, for svg device micro-points are plotted at fixed minimal size. But is there a way to work-around this limitation, for svg device? Best wishes, Andrey Paramonov -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
______________________________________________ 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.