I can get crisp, anti-aliased 2D plots but not 3D.

2d 3d

Anti-aliasing is set to 1 in Graphics options. In the Documentation center, 3D plots look good when I open it, especially the ticks and tick labels but when I recompile the plots, they lose their quality. I tried various RenderingOptions but none seem to work. My output of inxi -G is

Graphics:  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.8 driver: intel unloaded: modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.1.3 

I am running Mathematica 12.1 on Manjaro KDE.


David G. Stork's answer makes the surface of the 3D plot better but I would like to make the tick labels and tick marks crisp and smooth as in 2D plot if possible.

  • $\begingroup$ Is it a question about plotting or exporting the plot? $\endgroup$ – yarchik Jul 27 '20 at 22:08
  • $\begingroup$ @yarchik Plotting, although answers regarding exporting the plot would be appreciated as well. $\endgroup$ – Apoorv Potnis Jul 28 '20 at 7:20

Just use a large number of plot points:


And save as .eps or .pdf.

  • $\begingroup$ Thanks, that solves the problem for the surface in the plot. Is there any way to make the axis tick labels crisp as well? $\endgroup$ – Apoorv Potnis Jul 26 '20 at 19:24
  BaseStyle -> {FontFamily -> "Times", FontSize -> 15}, 
  LabelStyle -> Directive[Black, Bold, Medium], 
  TicksStyle -> Directive[Small, Blue]];
Plot3D[Sin[x*y], {x, 0, 2 \[Pi]}, {y, 0, 2 \[Pi]}, PlotPoints -> 50, 
 AxesLabel -> {x, y, Sin[x*y]}]

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.