PDA

View Full Version : pizza slices


ronpar
2006-11-03, 09:05 AM
Hi all,

Is there any way to easily make "pizza slices" other than half or one-fourth? I'm trying to construct a figure of a ring with different colors for different parts of the ring which I can label. (For those of you with a biology background, a plasmid map graphic :) ). I figure I can make the appropriate slices and subtract one from the other to get my colored sections. Or is there some easier way I'm missing?

Ron

Joel
2006-11-03, 10:34 AM
Try Peter McMaster's Pie Chart AppleScript (http://www.petermcm.dircon.co.uk/software/og_pie_chart/index.html), it's really really handy.

ronpar
2006-11-03, 04:19 PM
And it comes close to doing what I'd like. However....

Let me detail what I tried and see if anyone can correct my mistakes. Generate a pie chart. Get rid of the labels. Duplicate the chart. Resize one chart such that I can nest it within the other. Select the appropriate "slices" and subtract them. That should give me an arc, but it doesn't. Sometimes I can't subtract the two shapes for some reason (both selected, but option not available). Sometimes the subtraction leaves a line. Sometimes subtraction doesn't work and one of the slices is in a state that I can't select it with the mouse, but can with select all.

Typing this out, I guess I can just drop another circle in the middle to hide the lines.... But it would really be nice to set a radius and a fraction of the circle to cover.

Ron

PS An example of what I'd like to do is attached. So I can do it in omnigraffle by dropping the circle on to hide the lines.

forum member
2006-11-03, 07:05 PM
Peter McMaster also has other scripts (http://www.petermcm.dircon.co.uk/software/index.html) for different shapes. Maybe you can use a script to create an arc, then widen the arc? Then arrange in a circle?

ronpar
2006-11-03, 07:57 PM
The pie chart and arc scripts are nice. Seem to get me most of the way there. The big problem seems to be with the subtract shapes function which is a bit buggy on my machine (bugs for sure, but my expectations may not jibe with the people at Omni about how it should work). I appreciate all the suggestions and help.

Ron