LaTeX forum ⇒ Math & Science3d matrix in latex

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
tonie
Posts: 9
Joined: Sat Jan 26, 2008 1:18 pm

3d matrix in latex

Postby tonie » Mon Jun 15, 2009 5:39 pm

Hi folks,
I am working with 3D matrices. Basically, most of my calculations are shown in indice-notation. In order to illustrate and visualize my calculations I would like to draw a 3D matrix. Do you have a clue how to generate it in latex? I know how to do a 2d matrix but I would like to modify it to a 3rd dimension (kind of a 3D plot)... Right now, I couldn't find any help and examples on the web...

Tags:

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Jun 15, 2009 5:51 pm

You could try the pst-gr3d package. The manual shows some useful examples.


Best regards
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

tonie
Posts: 9
Joined: Sat Jan 26, 2008 1:18 pm

Postby tonie » Wed Jun 17, 2009 11:02 pm

cheers, the package is very useful!
Best wishes,
Tonie

maziyarkhorrami
Posts: 1
Joined: Tue May 13, 2014 7:34 pm

Postby maziyarkhorrami » Tue May 13, 2014 7:47 pm

Can anyone tell me how this could be possible to use this package ? I use ubuntu 14.04 and Texmaker. It is not my first latex experiment. I found pst-gr3d.sty in internet and put in the directory where I have my main tex file but when I compile it I get nor error not any 3d matrix (just a white invisible space). As an alternative I read the documentation in the page :

http://ctan.org/pkg/pst-gr3d

As they said "* Run "tex" on pst-gr3d.ins and copy pst-gr3d.tex and pst-gr3d.sty
in one of your TeX input directories" . I tried to run pst-gr3d.ins and I got some error. It seems really wired. Is there anyone can help me. I really need to draw some 3D Matrices. Or maybe a new package ?

Is there any other package which I need to use in my tex file ?

These are the errors when I tray to run pst-gr3d.ins :

  1. This is TeX, Version 3.1415926 (TeX Live 2013/Debian)
  2. (/home/mazy/Documents/Latex/Masterthesis_Mazy/pst-gr3d.ins
  3. (/usr/share/texlive/texmf-dist/tex/latex/base/docstrip.tex
  4. Utility: `docstrip' 2.5d <2005/07/29>
  5. English documentation <1999/03/31>
  6.  
  7. **********************************************************
  8. * This program converts documented macro-files into fast *
  9. * loadable files by stripping off (nearly) all comments! *
  10. **********************************************************
  11.  
  12. ********************************************************
  13. * No Configuration file found, using default settings. *
  14. ********************************************************
  15.  
  16. !
  17. **************************************************
  18. * Could not find your \batchfile=pst-gr3d.ins.
  19. **************************************************.
  20. \processbatchFile ...****************************}
  21. \fi \else \ifDefault \Msg ...
  22.  
  23. \process@first@batchfile ->\processbatchFile
  24. \ifnum \NumberOfFiles =\z@ \int...
  25. l.1092 \process@first@batchfile
  26.  
  27. ?
  28.  
  29. ****************************************************
  30. * First type the extension of your input file(s): *
  31. \infileext=ins
  32. ****************************************************
  33.  
  34. ****************************************************
  35. * Now type the extension of your output file(s) : *
  36. \outfileext=sty
  37. ****************************************************
  38.  
  39. ****************************************************
  40. * Now type the name(s) of option(s) to include : *
  41. \Options=tex
  42. ****************************************************
  43.  
  44. ****************************************************
  45. * Finally give the list of input file(s) without *
  46. * extension seperated by commas if necessary : *
  47. \filelist=pst-gr3d,ins
  48. ****************************************************
  49.  
  50.  
  51. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  52. ! Your input file `pst-gr3d.ins' was not found !
  53. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  54.  
  55.  
  56. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  57. ! Your input file `ins.ins' was not found !
  58. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Last edited by cgnieder on Tue Jun 17, 2014 12:12 pm, edited 1 time in total.
Reason: added code markup


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 3 guests