Hi,
I have circle with diameter 1, I use below code:
meshgrid(x,y)Fig,surf(x,y,z,'facecolor','interp','edgecolor',none);view(2)xlim([0 1]),ylim([0 1))colorbar;colormap(hot);
Now I want plot a circle
figure2. Keep original circle diameter 0-0.39 from bottom as it is, and fill rest of the original area with black color
Figure3: Keep original circle diameter 0.39~1 (up or top) as it is, and fill rest of the original area with black color
Figure4: Keep original circle diameter 0~63 from left as it is, and fill rest of the original area with black color
Figure5: Keep original circel diameter 0.4~1 to right as it is,and fill rest of the original area with black color
Kindly some help to do this.
Best Answer