Plotting octahedron inside the sphere and sphere inside the cubeShowing a rectangular plot on an almost-closed sphereParametricPlot3D and Sphere GraphicsPlotting less of a sphereHow to solve Laplace equation in 3D?Attaching labels to the vertices of an OctahedronPlot contour lines on a sphereIntersection VolumeHow to plot a function from the sphere to the reals as a colored sphere?How can I plot 3d surface plot together with 3d scatter plot in the same cube box

Why has no one requested the tape of the Trump/Ukraine call?

Can you use a clue that contains a word on the board within it in an unrelated way in Codenames?

How to remove empty lines from begin and end of file?

Can a microwave oven cook chicken?

Is the genre 'fantasy' still fantasy without magic?

How do HK restaurants keep wok-fried scallops white, with no visible sear marks?

What is this machine's purpose?

Outlining the climax made me lose interest in writing the actual story

A robot surviving on top of a 3x3 platform

Is there a heavy usage of the word "bonfire" in English?

Are there concrete advantages for being proficient at social skills in a table that rewards roleplaying these interactions?

Raised concerns about a security vulnerability to various managers, for more than a year, with no results. Should I mention it to external auditors?

:wq command not found

Are results that are derived simply by using more computational power publishable?

On the method described by Purcell for finding the magnetic field by measuring the force on a test particle

How can I communicate to my mother that her complaints about me make me feel like I'm not enough?

In TDD, should I add unit tests to refactored code?

Chaining statistics in a dice queue

Does casting Inflict Wounds while concentrating on Vampiric Touch also siphon damage?

How to color a fraction bar in mathematical mode?

Is there any math conjecture that would cause a lot of damage if disproven?

Conflict between a religious belief that accounts for the existence of transgender people vs. one that doesn't

When to use Sitecore.Context.Items and why?

What kinds of sanctions would be applied if you wrongly invoked the fifth amendment?



Plotting octahedron inside the sphere and sphere inside the cube


Showing a rectangular plot on an almost-closed sphereParametricPlot3D and Sphere GraphicsPlotting less of a sphereHow to solve Laplace equation in 3D?Attaching labels to the vertices of an OctahedronPlot contour lines on a sphereIntersection VolumeHow to plot a function from the sphere to the reals as a colored sphere?How can I plot 3d surface plot together with 3d scatter plot in the same cube box






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;

.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;








3















$begingroup$


How to plot an octahedron inside a sphere and the same sphere inside a cube in 3d?










share|improve this question









$endgroup$










  • 1




    $begingroup$
    Take a look at PolyhedronData and GeometricTransform. Have you tried anything?
    $endgroup$
    – Kuba
    Aug 12 at 11:35











  • $begingroup$
    I tried in graphics 3D for the circumsphere of octahedron. But the output is saying octahedron is not a graphic 3d primitive.I did not understand this.
    $endgroup$
    – Sunita
    Aug 12 at 11:42







  • 2




    $begingroup$
    Hard do say anything without a code sample. Also, make sure you went through examples in documentation I mentioned.
    $endgroup$
    – Kuba
    Aug 12 at 11:55

















3















$begingroup$


How to plot an octahedron inside a sphere and the same sphere inside a cube in 3d?










share|improve this question









$endgroup$










  • 1




    $begingroup$
    Take a look at PolyhedronData and GeometricTransform. Have you tried anything?
    $endgroup$
    – Kuba
    Aug 12 at 11:35











  • $begingroup$
    I tried in graphics 3D for the circumsphere of octahedron. But the output is saying octahedron is not a graphic 3d primitive.I did not understand this.
    $endgroup$
    – Sunita
    Aug 12 at 11:42







  • 2




    $begingroup$
    Hard do say anything without a code sample. Also, make sure you went through examples in documentation I mentioned.
    $endgroup$
    – Kuba
    Aug 12 at 11:55













3













3









3


0



$begingroup$


How to plot an octahedron inside a sphere and the same sphere inside a cube in 3d?










share|improve this question









$endgroup$




How to plot an octahedron inside a sphere and the same sphere inside a cube in 3d?







plotting






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 12 at 11:34









SunitaSunita

391 bronze badge




391 bronze badge










  • 1




    $begingroup$
    Take a look at PolyhedronData and GeometricTransform. Have you tried anything?
    $endgroup$
    – Kuba
    Aug 12 at 11:35











  • $begingroup$
    I tried in graphics 3D for the circumsphere of octahedron. But the output is saying octahedron is not a graphic 3d primitive.I did not understand this.
    $endgroup$
    – Sunita
    Aug 12 at 11:42







  • 2




    $begingroup$
    Hard do say anything without a code sample. Also, make sure you went through examples in documentation I mentioned.
    $endgroup$
    – Kuba
    Aug 12 at 11:55












  • 1




    $begingroup$
    Take a look at PolyhedronData and GeometricTransform. Have you tried anything?
    $endgroup$
    – Kuba
    Aug 12 at 11:35











  • $begingroup$
    I tried in graphics 3D for the circumsphere of octahedron. But the output is saying octahedron is not a graphic 3d primitive.I did not understand this.
    $endgroup$
    – Sunita
    Aug 12 at 11:42







  • 2




    $begingroup$
    Hard do say anything without a code sample. Also, make sure you went through examples in documentation I mentioned.
    $endgroup$
    – Kuba
    Aug 12 at 11:55







1




1




$begingroup$
Take a look at PolyhedronData and GeometricTransform. Have you tried anything?
$endgroup$
– Kuba
Aug 12 at 11:35





$begingroup$
Take a look at PolyhedronData and GeometricTransform. Have you tried anything?
$endgroup$
– Kuba
Aug 12 at 11:35













$begingroup$
I tried in graphics 3D for the circumsphere of octahedron. But the output is saying octahedron is not a graphic 3d primitive.I did not understand this.
$endgroup$
– Sunita
Aug 12 at 11:42





$begingroup$
I tried in graphics 3D for the circumsphere of octahedron. But the output is saying octahedron is not a graphic 3d primitive.I did not understand this.
$endgroup$
– Sunita
Aug 12 at 11:42





2




2




$begingroup$
Hard do say anything without a code sample. Also, make sure you went through examples in documentation I mentioned.
$endgroup$
– Kuba
Aug 12 at 11:55




$begingroup$
Hard do say anything without a code sample. Also, make sure you went through examples in documentation I mentioned.
$endgroup$
– Kuba
Aug 12 at 11:55










2 Answers
2






active

oldest

votes


















9

















$begingroup$

Try



Graphics3D[Opacity[.25], PolyhedronData["Octahedron", "Faces"],Sphere[0, 0, 0, 1/Sqrt[2]],Cuboid[1/Sqrt[2] -1, -1, -1, 1/Sqrt[2] 1, 1, 1]]


enter image description here






share|improve this answer










$endgroup$














  • $begingroup$
    One can use Octahedron as well.
    $endgroup$
    – Chip Hurst
    Aug 12 at 12:29


















4

















$begingroup$

cs = Circumsphere @ Octahedron[];

cuboid = Cuboid @@ Transpose[RegionBounds[cs]];

Graphics3D[Opacity[0.6, Red], Octahedron[],
Opacity[.4, Blue], cs,
Opacity[.4, Yellow], cuboid]


enter image description here






share|improve this answer










$endgroup$
















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "387"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f203629%2fplotting-octahedron-inside-the-sphere-and-sphere-inside-the-cube%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    9

















    $begingroup$

    Try



    Graphics3D[Opacity[.25], PolyhedronData["Octahedron", "Faces"],Sphere[0, 0, 0, 1/Sqrt[2]],Cuboid[1/Sqrt[2] -1, -1, -1, 1/Sqrt[2] 1, 1, 1]]


    enter image description here






    share|improve this answer










    $endgroup$














    • $begingroup$
      One can use Octahedron as well.
      $endgroup$
      – Chip Hurst
      Aug 12 at 12:29















    9

















    $begingroup$

    Try



    Graphics3D[Opacity[.25], PolyhedronData["Octahedron", "Faces"],Sphere[0, 0, 0, 1/Sqrt[2]],Cuboid[1/Sqrt[2] -1, -1, -1, 1/Sqrt[2] 1, 1, 1]]


    enter image description here






    share|improve this answer










    $endgroup$














    • $begingroup$
      One can use Octahedron as well.
      $endgroup$
      – Chip Hurst
      Aug 12 at 12:29













    9















    9











    9







    $begingroup$

    Try



    Graphics3D[Opacity[.25], PolyhedronData["Octahedron", "Faces"],Sphere[0, 0, 0, 1/Sqrt[2]],Cuboid[1/Sqrt[2] -1, -1, -1, 1/Sqrt[2] 1, 1, 1]]


    enter image description here






    share|improve this answer










    $endgroup$



    Try



    Graphics3D[Opacity[.25], PolyhedronData["Octahedron", "Faces"],Sphere[0, 0, 0, 1/Sqrt[2]],Cuboid[1/Sqrt[2] -1, -1, -1, 1/Sqrt[2] 1, 1, 1]]


    enter image description here







    share|improve this answer













    share|improve this answer




    share|improve this answer










    answered Aug 12 at 12:19









    Ulrich NeumannUlrich Neumann

    16.3k8 silver badges23 bronze badges




    16.3k8 silver badges23 bronze badges














    • $begingroup$
      One can use Octahedron as well.
      $endgroup$
      – Chip Hurst
      Aug 12 at 12:29
















    • $begingroup$
      One can use Octahedron as well.
      $endgroup$
      – Chip Hurst
      Aug 12 at 12:29















    $begingroup$
    One can use Octahedron as well.
    $endgroup$
    – Chip Hurst
    Aug 12 at 12:29




    $begingroup$
    One can use Octahedron as well.
    $endgroup$
    – Chip Hurst
    Aug 12 at 12:29













    4

















    $begingroup$

    cs = Circumsphere @ Octahedron[];

    cuboid = Cuboid @@ Transpose[RegionBounds[cs]];

    Graphics3D[Opacity[0.6, Red], Octahedron[],
    Opacity[.4, Blue], cs,
    Opacity[.4, Yellow], cuboid]


    enter image description here






    share|improve this answer










    $endgroup$



















      4

















      $begingroup$

      cs = Circumsphere @ Octahedron[];

      cuboid = Cuboid @@ Transpose[RegionBounds[cs]];

      Graphics3D[Opacity[0.6, Red], Octahedron[],
      Opacity[.4, Blue], cs,
      Opacity[.4, Yellow], cuboid]


      enter image description here






      share|improve this answer










      $endgroup$

















        4















        4











        4







        $begingroup$

        cs = Circumsphere @ Octahedron[];

        cuboid = Cuboid @@ Transpose[RegionBounds[cs]];

        Graphics3D[Opacity[0.6, Red], Octahedron[],
        Opacity[.4, Blue], cs,
        Opacity[.4, Yellow], cuboid]


        enter image description here






        share|improve this answer










        $endgroup$



        cs = Circumsphere @ Octahedron[];

        cuboid = Cuboid @@ Transpose[RegionBounds[cs]];

        Graphics3D[Opacity[0.6, Red], Octahedron[],
        Opacity[.4, Blue], cs,
        Opacity[.4, Yellow], cuboid]


        enter image description here







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Aug 12 at 12:56









        kglrkglr

        226k10 gold badges256 silver badges516 bronze badges




        226k10 gold badges256 silver badges516 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Mathematica Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f203629%2fplotting-octahedron-inside-the-sphere-and-sphere-inside-the-cube%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?