Coordinate system with tikz-3dplot The Next CEO of Stack OverflowNavigation system coordinates...

Incomplete cube

How to install cross-compiler on Ubuntu 18.04?

Why do I get "Binary file matches" with grep -I?

How can I prove that a state of equilibrium is unstable?

Why is the sentence "Das ist eine Nase" correct?

Is it "common practice in Fourier transform spectroscopy to multiply the measured interferogram by an apodizing function"? If so, why?

A hang glider, sudden unexpected lift to 25,000 feet altitude, what could do this?

How to coordinate airplane tickets?

My singleton can be called multiple times

Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?

A Matrix Inequality for positive definite matrices

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

Can a virus destroy the BIOS of a modern computer?

Grouping enumerated list with different width?

Connect points with lines QGIS

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Avoiding the "not like other girls" trope?

Was the Stack Exchange "Happy April Fools" page fitting with the 90s code?

Is it a bad idea to plug the other end of ESD strap to wall ground?

Finitely generated matrix groups whose eigenvalues are all algebraic

How to delete logs automatically after a certain time and restart the process that fills up the log file?

Can corrosion on the subframe be addressed by cleaning and repainting or waxoyling?

Getting extremely large arrows with tikzcd

is it possible to ice skate on an ice moon/world



Coordinate system with tikz-3dplot



The Next CEO of Stack OverflowNavigation system coordinates in tikz-3dplotRotating around axes with tikz-3dplottikz-3dplot: Filling 3d-profileDrawing arcs in tikz-3dplottikz-3dplot: How can I recover the x,y,z components of a previously defined coordinate?Gray shaded sphere with tikz-3dplot3-d Example Using tikz-3dplotDefault tikz-3dplot main coordinatesDraw lower (southern) hemisphere and great semicircle with “mathematician's” axes orientationCan one use tikz-3dplot with perspective?












1















I am trying to use tikz-3dplot to draw a cube and I was particularly interested by the possibility to define a point using tdplotsetcoord which allows to get x/y/z/xz... coordinates. But when I try to define a point in (4,4,4) of the main coordinate system of tikz-3dplot (so tdplotsetcoord{P}{sqrt(3)*4}{45}{45} I think), I do not get what I am expecting as you can see below. The blue and black nodes should be the same in my figure. Any ideas ?



documentclass[tikz]{standalone}
usepackage{tikz-3dplot}
begin{document}

tdplotsetmaincoords{70}{110}
begin{tikzpicture}[tdplot_main_coords]

% cube
tdplotsetcoord{P}{sqrt(3)*4}{45}{45}
draw[dashed]
(0,0,0) -- (Px)
(0,0,0) -- (Py)
(0,0,0) -- (Pz);
draw[->]
(Px) -- ++ (1,0,0) node[anchor=north east]{$x$};
draw[->]
(Py) -- ++(0,1,0) node[anchor=north west]{$y$};
draw[->]
(Pz) -- ++(0,0,1) node[anchor=south]{$z$};

draw[thick]
(Pxz) -- (P) -- (Pxy) -- (Px) -- (Pxz) -- (Pz) -- (Pyz) -- (P);
draw[thick]
(Pyz) -- (Py) -- (Pxy);

filldraw[dashed,blue] (0,0,0)-- (P) circle (2pt);

filldraw[dashed] (0,0,0)-- (4,4,4) circle (2pt);

end{tikzpicture}
end{document}


enter image description here









share







New contributor




Pierre Marchand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    I am trying to use tikz-3dplot to draw a cube and I was particularly interested by the possibility to define a point using tdplotsetcoord which allows to get x/y/z/xz... coordinates. But when I try to define a point in (4,4,4) of the main coordinate system of tikz-3dplot (so tdplotsetcoord{P}{sqrt(3)*4}{45}{45} I think), I do not get what I am expecting as you can see below. The blue and black nodes should be the same in my figure. Any ideas ?



    documentclass[tikz]{standalone}
    usepackage{tikz-3dplot}
    begin{document}

    tdplotsetmaincoords{70}{110}
    begin{tikzpicture}[tdplot_main_coords]

    % cube
    tdplotsetcoord{P}{sqrt(3)*4}{45}{45}
    draw[dashed]
    (0,0,0) -- (Px)
    (0,0,0) -- (Py)
    (0,0,0) -- (Pz);
    draw[->]
    (Px) -- ++ (1,0,0) node[anchor=north east]{$x$};
    draw[->]
    (Py) -- ++(0,1,0) node[anchor=north west]{$y$};
    draw[->]
    (Pz) -- ++(0,0,1) node[anchor=south]{$z$};

    draw[thick]
    (Pxz) -- (P) -- (Pxy) -- (Px) -- (Pxz) -- (Pz) -- (Pyz) -- (P);
    draw[thick]
    (Pyz) -- (Py) -- (Pxy);

    filldraw[dashed,blue] (0,0,0)-- (P) circle (2pt);

    filldraw[dashed] (0,0,0)-- (4,4,4) circle (2pt);

    end{tikzpicture}
    end{document}


    enter image description here









    share







    New contributor




    Pierre Marchand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I am trying to use tikz-3dplot to draw a cube and I was particularly interested by the possibility to define a point using tdplotsetcoord which allows to get x/y/z/xz... coordinates. But when I try to define a point in (4,4,4) of the main coordinate system of tikz-3dplot (so tdplotsetcoord{P}{sqrt(3)*4}{45}{45} I think), I do not get what I am expecting as you can see below. The blue and black nodes should be the same in my figure. Any ideas ?



      documentclass[tikz]{standalone}
      usepackage{tikz-3dplot}
      begin{document}

      tdplotsetmaincoords{70}{110}
      begin{tikzpicture}[tdplot_main_coords]

      % cube
      tdplotsetcoord{P}{sqrt(3)*4}{45}{45}
      draw[dashed]
      (0,0,0) -- (Px)
      (0,0,0) -- (Py)
      (0,0,0) -- (Pz);
      draw[->]
      (Px) -- ++ (1,0,0) node[anchor=north east]{$x$};
      draw[->]
      (Py) -- ++(0,1,0) node[anchor=north west]{$y$};
      draw[->]
      (Pz) -- ++(0,0,1) node[anchor=south]{$z$};

      draw[thick]
      (Pxz) -- (P) -- (Pxy) -- (Px) -- (Pxz) -- (Pz) -- (Pyz) -- (P);
      draw[thick]
      (Pyz) -- (Py) -- (Pxy);

      filldraw[dashed,blue] (0,0,0)-- (P) circle (2pt);

      filldraw[dashed] (0,0,0)-- (4,4,4) circle (2pt);

      end{tikzpicture}
      end{document}


      enter image description here









      share







      New contributor




      Pierre Marchand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am trying to use tikz-3dplot to draw a cube and I was particularly interested by the possibility to define a point using tdplotsetcoord which allows to get x/y/z/xz... coordinates. But when I try to define a point in (4,4,4) of the main coordinate system of tikz-3dplot (so tdplotsetcoord{P}{sqrt(3)*4}{45}{45} I think), I do not get what I am expecting as you can see below. The blue and black nodes should be the same in my figure. Any ideas ?



      documentclass[tikz]{standalone}
      usepackage{tikz-3dplot}
      begin{document}

      tdplotsetmaincoords{70}{110}
      begin{tikzpicture}[tdplot_main_coords]

      % cube
      tdplotsetcoord{P}{sqrt(3)*4}{45}{45}
      draw[dashed]
      (0,0,0) -- (Px)
      (0,0,0) -- (Py)
      (0,0,0) -- (Pz);
      draw[->]
      (Px) -- ++ (1,0,0) node[anchor=north east]{$x$};
      draw[->]
      (Py) -- ++(0,1,0) node[anchor=north west]{$y$};
      draw[->]
      (Pz) -- ++(0,0,1) node[anchor=south]{$z$};

      draw[thick]
      (Pxz) -- (P) -- (Pxy) -- (Px) -- (Pxz) -- (Pz) -- (Pyz) -- (P);
      draw[thick]
      (Pyz) -- (Py) -- (Pxy);

      filldraw[dashed,blue] (0,0,0)-- (P) circle (2pt);

      filldraw[dashed] (0,0,0)-- (4,4,4) circle (2pt);

      end{tikzpicture}
      end{document}


      enter image description here







      tikz-3dplot





      share







      New contributor




      Pierre Marchand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Pierre Marchand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Pierre Marchand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 7 mins ago









      Pierre MarchandPierre Marchand

      6




      6




      New contributor




      Pierre Marchand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Pierre Marchand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Pierre Marchand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          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/3.0/"u003ecc by-sa 3.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
          });


          }
          });






          Pierre Marchand is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482775%2fcoordinate-system-with-tikz-3dplot%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Pierre Marchand is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Pierre Marchand is a new contributor. Be nice, and check out our Code of Conduct.













          Pierre Marchand is a new contributor. Be nice, and check out our Code of Conduct.












          Pierre Marchand is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to TeX - LaTeX 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.


          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%2ftex.stackexchange.com%2fquestions%2f482775%2fcoordinate-system-with-tikz-3dplot%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

          Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

          IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

          Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...