I want to be able to see 3D data (a clouds of points) as in any gnuplot terminal - at least to be able to rotate as it is for images on p. 171 in this document.

Is it possible to insert a script in .plt gnuplot format or to generate data in some another format suitable for adding in LaTeX document (I use LyX)?

What is general approach to add such a 3D interactive images to PDF?

  • Have a look at TikZ and PGFplots. – TeXnician Feb 8 '17 at 13:17
  • @user124577 Thank you for the hint. What tags are related to searching that? – Orient Feb 8 '17 at 13:18
  • That depends. Just try to find something like "pgf 3d data" (like tex.stackexchange.com/questions/118131/…) – TeXnician Feb 8 '17 at 13:22
  • The first question is how does PDF do it? Second, does hyperref or tikz support those features? I should also note that at 8.7Mb for an 11 page document, it would seem that the animation consists of selecting one of many images stored. – John Kormylo Feb 8 '17 at 13:45
  • @JohnKormylo Bad news :(. But it may worth this. – Orient Feb 8 '17 at 13:48

Asymptote (http://asymptote.sourceforge.net/) is what you are after. It produces interactive 3D models in the PRC format which are eventually embedded using the media9 LaTeX package. See Sect. 7 of the media9 documentation which explains the procedure and which contains an Asymptote generated example.

  • I hope it is not too complex to deal with. – Orient Feb 8 '17 at 13:59
  • Well, the learning curve of Asymptote is rather steep, but the web page is full of examples and you may get help here too. – AlexG Feb 8 '17 at 14:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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