Message Boards Message Boards

0
|
5220 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Improve pie chart resolution after exporting to pdf?

Posted 8 years ago

I have a hopefully simple issue. I have a very basic pie chart that I need to export to pdf. This process is no problem, but the resulting pdf is of poor quality. There is what looks like partial grid lines and stray marks. Is this normal? This is what I am entering on the command line. FYI, I replaced the "greater than or equal to symbols" that I actually have for the lower limit with > for ease of pasting.

I am using Mathematica 8.0 on MacOS 10.11.6.

Export["uglypiechart.pdf", 
 PieChart3D[{9.69, 25.49, 21.36, 9.69, 1.80, 31.96}, 
  ChartLegends -> {{"grade > A  9.7%" , 
     "A > grade > B  25.4%", 
     "B > grade > C  21.4%", 
     "C > grade > D 9.7%", 
     "D > grade > E 1.8%", 
     "no grade 32%"}}, ChartStyle -> {"CandyColors"}, 
  ChartLabels -> {"9.7", "25.4", "21.4", "9.7", "1.8", "32"}]]
Attachments:
POSTED BY: Francie C.
2 Replies

The edges in places might look a little ragged when zoomed, but I don't see any partial grid lines or stray marks (Mathematica 11.0.0.0 on macOS 10.11.6).

Export["uglypiechart.pdf", 
 PieChart3D[{9.69, 25.49, 21.36, 9.69, 1.80, 31.96}, 
  ChartLegends -> {{"grade > A 9.7%", "A > grade > B 25.4%", 
     "B > grade > C 21.4%", "C > grade > D 9.7%", 
     "D > grade > E 1.8%", "no grade 32%"}}, 
  ChartStyle -> {"CandyColors"}, 
  ChartLabels -> {"9.7", "25.4", "21.4", "9.7", "1.8", "32"}]]
Attachments:
POSTED BY: Timothy Ewing
Posted 8 years ago

Ah! It looks so pretty! How bizarre! I updated my original query and included an attachment of what I am seeing.

I am using Mathematica 8.0 on MacOS 10.11.6.

One would hope that older Mathematica still wouldn't make ugly pie charts. :-(

POSTED BY: Francie C.
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract