[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
filling patterns for pie chart
From: |
Maciej Gawinecki |
Subject: |
filling patterns for pie chart |
Date: |
Fri, 09 Oct 2009 11:44:11 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
I've been looking for solution to gnuplot pie chart with black-and-white
filling patterns (like bars in that gnuplot test command renders:
https://hepblog.uchicago.edu/hep/hep4/wp-content/uploads/2008/01/gnuplot.png)
I know that Octave has a simple function pie() for drawing pie charts. E.g. I
found this example:
pie ([3, 2, 1], [0, 0, 1], {"Cheddar", "Swiss", "Camembert"});
colormap([1,0,0;0,1,0;0,0,1;1,1,0;1,0,1;0,1,1]);
print('fig.jpg','-djpg');
Can any one there can explain me how can I replace colors with black-and-white
filling patterns?
Regards,
Maciej
ps. As an alternative I've tried Perl Chart::Gnuplot::Pie library but
Chart::Gnuplot library does not work for me (Windows XP). There is a known
issue on that (http://www.perlmonks.org/?node_id=721599), and even turning
back to version 0.05 of Perl library for gnuplot does not help.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- filling patterns for pie chart,
Maciej Gawinecki <=