4

I want to plot a very large dataset and therefore I need to use very small points or lines. It seems Thickness and Pointsize has a lower limit. Am I right?

po = RandomReal[{-1, 1}, {10000, 2}];
Graphics[{Thickness[0],Line[#] & /@ ({po[[1 ;; -2]], po[[2 ;;]]}\[Transpose])}]

example image

Graphics[{PointSize[0], Point[#] & /@ po}]

example image

Note that AbsolutePointSize and AbsoluteThickness give similar results.

m_goldberg
  • 107,779
  • 16
  • 103
  • 257
Rasoul-Ghadimi
  • 681
  • 3
  • 13

1 Answers1

3

Based on @Szabolcs, It seems by increasing the size and change the resolution,

Magnify[
  Rasterize[
    Graphics[
      {Thickness[0],Line[#] & /@ ({po[[1 ;; -2]], po[[2 ;;]]}\[Transpose])}, 
       ImageSize -> 10000], 
    ImageResolution -> 100], 0.1]

we can find desire fine structure, enter image description here

I suggest Opacity also may be useful in some case,

Graphics[{Opacity[0.0251], Thickness[0],Line[#] & /@ ({po[[1 ;; -2]], po[[2 ;;]]}\[Transpose])}]

enter image description here

Rasoul-Ghadimi
  • 681
  • 3
  • 13