[R] Micro-point with pch=16?
paramon at acdlabs.ru
Mon Apr 7 13:07:26 CEST 2014
07.04.2014 12:51, Jim Lemon пишет:
> On 04/07/2014 04:33 PM, Андрей Парамонов wrote:
>> 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?
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the R-help