Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

When I try to plot 3D functions like the equation of a sphere with Maple13 on Linux(OS) using plot3d() I see empty space around the center circumference of the graph.

I understand it might be useful for others(for example to inspect the inner part of the graphed object) but I want to see the full drawn graph as it is.

How can I remove this gap? Is there any option in plot3d() that remove this gap?

For example, if I execute:


plot3d({-(5^2-(x-1)^2-(y-2)^2)^(1/2)+2, (5^2-(x-1)^2-(y-2)^2)^(1/2)+2}, x = -10 .. 10, y = -10 .. 10, scaling = constrained);

I see empty space around the center rim of the sphere along with the drawn graph?

Is it possible to kindly tell me how to disable it so that I can see the full drawn graph?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

How about a slightly different approach, for example,

plots:-implicitplot3d( 5^2-(x-1)^2-(y-2)^2-(z-2)^2,
                       x = -10..10, y = -10..10, z=-10..10,
                       grid=[20,20,20], axes=box);

plots:-display(plottools:-sphere([1,2,2],5), axes=box,

and you could adjust the various options for look & feel: view ranges, lighting, surface style, etc.

share|improve this answer
Thanks acer. That solves my problem. –  mvr950 Jul 20 '12 at 21:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.