Math & Science3d matrix in latex

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

3d matrix in latex

Post by tonie »

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...

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

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

3d matrix in latex

Post by localghost »

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


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

Re: 3d matrix in latex

Post by tonie »

cheers, the package is very useful!
Best wishes,
Tonie
maziyarkhorrami
Posts: 1
Joined: Tue May 13, 2014 7:34 pm

3d matrix in latex

Post by maziyarkhorrami »

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 :

Code: Select all

This is TeX, Version 3.1415926 (TeX Live 2013/Debian)
(/home/mazy/Documents/Latex/Masterthesis_Mazy/pst-gr3d.ins
(/usr/share/texlive/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' 2.5d <2005/07/29>
English documentation    <1999/03/31>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

! 
**************************************************
* Could not find your \batchfile=pst-gr3d.ins.
**************************************************.
\processbatchFile ...****************************}
                                                  \fi \else \ifDefault \Msg ...

\process@first@batchfile ->\processbatchFile 
                                             \ifnum \NumberOfFiles =\z@ \int...
l.1092 \process@first@batchfile
                               
? 

****************************************************
* First type the extension of your input file(s):  *
\infileext=ins
****************************************************

****************************************************
* Now type the extension of your output file(s)  : *
\outfileext=sty
****************************************************

****************************************************
* Now type the name(s) of option(s) to include   : *
\Options=tex
****************************************************

****************************************************
* Finally give the list of input file(s) without   *
* extension seperated by commas if necessary     : *
\filelist=pst-gr3d,ins
****************************************************


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Your input file `pst-gr3d.ins' was not found !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Your input file `ins.ins' was not found !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Last edited by cgnieder on Tue Jun 17, 2014 12:12 pm, edited 1 time in total.
Post Reply