Results 1 to 11 of 11

Math Help - Tensor Visualization

  1. #1
    Newbie
    Joined
    Sep 2007
    Posts
    6

    Tensor Visualization

    Hello,

    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.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    11
    Hi

    Actually, I didn't see this... could you give me an example of what you're talkin' about?

    Cheers,
    K.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Sep 2007
    Posts
    6
    Sure, one of my references that I'll be using has some figures that I liked.

    Tamara G. Kolda. Multilinear operators for higher-order decompositions. Technical Report SAND2006-2081, Sandia National Laboratories, Albuquerque, NM and Livermore, CA, April 2006.

    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.

    Follow Math Help Forum on Facebook and Google+

  4. #4
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    11
    Ohhh...

    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).
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Sep 2007
    Posts
    6
    I could get the same result using Xfig, right?
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    11
    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.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Newbie
    Joined
    Sep 2007
    Posts
    6
    I believe it does. If I can't get that to work then I'll have to look into getting CorelDraw.
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Newbie
    Joined
    Sep 2007
    Posts
    6
    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?

    Thanks.
    Follow Math Help Forum on Facebook and Google+

  9. #9
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    11
    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?
    Follow Math Help Forum on Facebook and Google+

  10. #10
    Newbie
    Joined
    Sep 2007
    Posts
    6
    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.
    Attached Files Attached Files
    Follow Math Help Forum on Facebook and Google+

  11. #11
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    11
    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.

    You can ask all what concerns it here.

    Cheers,
    K.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. r formula visualization
    Posted in the Trigonometry Forum
    Replies: 18
    Last Post: November 20th 2010, 04:37 AM
  2. Tensor
    Posted in the Calculus Forum
    Replies: 0
    Last Post: October 1st 2009, 09:57 AM
  3. 3-d visualization problem
    Posted in the Geometry Forum
    Replies: 2
    Last Post: September 17th 2009, 04:49 AM
  4. Zm tensor Zn
    Posted in the Advanced Algebra Forum
    Replies: 3
    Last Post: March 24th 2009, 11:47 AM
  5. Replies: 3
    Last Post: March 14th 2009, 07:37 AM

Search Tags


/mathhelpforum @mathhelpforum