It's amazing that 12.2's new function PointValuePlot
can't generate vector figure when I set ColorFunction->"Rainbow"
. Then I save the figure as PDF, I am sure it's not an vector figure. Is this due to my computer problem? How to solve it if I want to use ColorFunction->"Rainbow"
?
Code:
PointValuePlot[
RandomReal[{0, 1}, {100, 2}] -> RandomReal[{0, 100}, 100],
ColorFunction -> "Rainbow",
FrameTicks -> None,
FrameStyle -> Thick
]
Very Thanks!
Update
Steps:
Use the aforementioned code, you can get a figure, then generate a palette from this figure, you can use
Alt+P+P
as shortcut key.Save this palette as pdf, and observe whether it is an vector figure.
According to my experiment, this problem only occur with ColorFunction
.
Example Figures: