I'm making a report on 3-mode Tensors and I want to make a figure to visualize what a tensor "looks like"--a box. I was hoping to make something that is dynamic, so I could resize the box sizes or relabel them with ease and also position matrices or other tensors ontop of others, while also being somewhat simplistic. I've tried looking for packages to help with this, but all I could find are packages for tensor notation.
I was also looking for a way to show/visualize the different ways to slice a tensor and what a fiber would look like.
If anybody could provide me with any help or information in making these figures in LaTeX, it would be much appreciated.
Sep 20th 2007, 06:49 PM
Actually, I didn't see this... could you give me an example of what you're talkin' about?
Sep 20th 2007, 07:38 PM
Sure, one of my references that I'll be using has some figures that I liked.
Figure 1, on page 6, is an example of what a tensor "looks like"
Figure 2, on page 6, is an example of fibers.
Figure 3, on page 7, is an example of slices.
Figure 5, on page 15, is an example of what tensor multiplication "looks like"
I'm not really good at making figures in LaTeX and don't want to draw out every figure, because I'll be reusing figures but with different labels. I was hoping for something like a package or perhaps some series of commands that I could easily edit for labeling purposes.
Sep 20th 2007, 08:21 PM
You know, you can do that use Asymptote, it is a system to graph on LaTeX, but it is a completely mess!. It's really hard to deal with it.
I make some pictures using CorelDraw, then I turn'em into the EPS extension (Encapsulated PostScript).
Sep 20th 2007, 08:28 PM
I could get the same result using Xfig, right?
Sep 20th 2007, 08:32 PM
Does that software convert the pictures into EPS files?
If it does, there's no problem, 'cause you can use the EPS extension to plug your figures on LaTeX.
Sep 20th 2007, 08:39 PM
I believe it does. If I can't get that to work then I'll have to look into getting CorelDraw.
Sep 22nd 2007, 07:37 AM
Okay! I was able to draw a box and put it into a LaTeX file.
Another question, do I have to put in the labels when I'm drawing the figure (in Xfig or CorelDraw) and just export all of the different labeled figures to EPS files, or is there a way to have LaTeX fill in that text?
For instance, say I'm using the same box, but I have need to have one label A and another label S (appearing on different pages). Would it be possible to use the same EPS file, but have a way to type in 'A' and 'S' in the .tex file so that these letters show up in the middle of the box? Or would I need to do that in CorelDraw and export two different EPS files?
Sep 22nd 2007, 04:55 PM
Yes, you can use the same EPS.
Actually, I'd use one EPS file to generate two or three images in the same line (if it's necessary).
About the labels... you mean "Figure 1", something like that?
Sep 22nd 2007, 06:05 PM
No, not the "Figure 1".
In the attachment I have a sample box that I made. What I was wondering if I could make a LaTeX command so that I could put in my own label/or formula where the "A" is located--and not having to do it within CorelDraw.
Sep 22nd 2007, 07:29 PM
Ahhh... that's far away from Corel... I think the only solution I could give you it's to use Asymptote, which is the system to graph in LaTeX.