Browse Source

example

master
test2 4 years ago
parent
commit
0b51d53684
  1. 2
      examples/PieChart.R

2
examples/PieChart.R

@ -8,7 +8,7 @@ labels = c('breakfast', 'brunch', 'lunch', 'snacks', 'dinner')
colors = c('#4286f4','#bb3af2','#ed2f52','#efc023','#ea7441')
# Give the chart file a name.
png(file = "/root/piechart.png")
png(file = "/var/www/html/examples_r/piechart.png")
# Plot the chart.
pie3D(x, labels=labels, explode=0.1, height=0.05, main='Daily Diet Plan', col=colors)

Loading…
Cancel
Save