MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > how to relocate the pie chart on a figure? 

Subject: how to relocate the pie chart on a figure? From: Amy Wang Date: 22 Sep, 2008 12:29:02 Message: 1 of 15 
I first have a figure drawn with imagesc. Then I would like to plot a pie chart at a certain position on the previous figure. How can I do this? Till now, everytime I tried, the pie chart is always at the corner (0,0) of the figure. 
Subject: how to relocate the pie chart on a figure? From: someone Date: 22 Sep, 2008 13:49:01 Message: 2 of 15 
"Amy Wang" <amy.wang@ua.ac.be> wrote in message <gb832e$o34$1@fred.mathworks.com>... 
Subject: how to relocate the pie chart on a figure? From: Amy Wang Date: 22 Sep, 2008 14:08:01 Message: 3 of 15 
I've tried that, but it seems not to work :( 
Subject: how to relocate the pie chart on a figure? From: Walter Roberson Date: 22 Sep, 2008 14:14:40 Message: 4 of 15 
Amy Wang wrote: 
Subject: how to relocate the pie chart on a figure? From: Amy Wang Date: 22 Sep, 2008 14:28:01 Message: 5 of 15 
Walter Roberson <roberson@hushmail.com> wrote in message <LKNBk.8164$tp1.1491@newsfe06.iad>... 
Subject: how to relocate the pie chart on a figure? From: Amy Wang Date: 22 Sep, 2008 14:31:01 Message: 6 of 15 
Walter Roberson <roberson@hushmail.com> wrote in message <LKNBk.8164$tp1.1491@newsfe06.iad>... 
Subject: how to relocate the pie chart on a figure? From: someone Date: 22 Sep, 2008 16:31:02 Message: 7 of 15 
"Amy Wang" <amy.wang@ua.ac.be> wrote in message <gb8a75$j99$1@fred.mathworks.com>... 
Subject: how to relocate the pie chart on a figure? From: Amy Wang Date: 23 Sep, 2008 07:02:01 Message: 8 of 15 
If it's just the pie chart, then I have no problem moving it. But with an image at the bottom, I can not let the image stay still but move only the pie chart >"< 
Subject: how to relocate the pie chart on a figure? From: Walter Roberson Date: 23 Sep, 2008 16:26:36 Message: 9 of 15 
Amy Wang wrote: 
Subject: how to relocate the pie chart on a figure? From: Amy Wang Date: 24 Sep, 2008 11:46:01 Message: 10 of 15 
Thanks for the advice. However, we would like to draw more than one pie chart over our image (say "R" for example on my previous message). Therefore it would be easier if we know how to move the pie chart. 
Subject: how to relocate the pie chart on a figure? From: Walter Roberson Date: 24 Sep, 2008 19:14:16 Message: 11 of 15 
Amy Wang wrote: 
Subject: how to relocate the pie chart on a figure? From: Amy Wang Date: 25 Sep, 2008 14:10:03 Message: 12 of 15 
Wow!!! Thanks a lot!!!! 
Subject: how to relocate the pie chart on a figure? From: Amy Wang Date: 25 Sep, 2008 14:23:01 Message: 13 of 15 
I used freezecolors.m provided by john and the problem is solved. I have two colormaps. 
Subject: how to relocate the pie chart on a figure? From: Amy Wang Date: 25 Sep, 2008 15:07:02 Message: 14 of 15 
Problem solved! 
Subject: how to relocate the pie chart on a figure? From: Bing Yang Date: 4 Jun, 2013 12:23:09 Message: 15 of 15 
Excuse me ! I met the same question with you. I could move the positon of the pie but the color of it is same . How did you solve this problem? 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.