2,008 reputation
1532
bio website
location
age
visits member for 3 years, 2 months
seen 21 hours ago

Sep
11
comment Export Mathematica 8 plot to TikZ
Export the plot data as a text (csv for example) file, say col x and col y, and then import into latex?
Sep
11
accepted saving computed number registers for access outside body of “let” operation
Sep
10
comment saving computed number registers for access outside body of “let” operation
Thanks. I should have been able to figure that out myself. Color me lazy.
Sep
10
accepted Centering ellipses inside a rectangular node
Sep
8
comment Strange arrow mark with TikZ edge and anchors.
Just ran into this. Thanks for the explanation.
Sep
8
comment saving computed number registers for access outside body of “let” operation
Thanks. Your solution works, but the \newcommand you suggested doesn't. I get ERROR: Illegal parameter number in definition of \savenumber.
Sep
8
revised saving computed number registers for access outside body of “let” operation
deleted 68 characters in body
Sep
8
comment saving computed number registers for access outside body of “let” operation
Hi Jake. You didn't change the last line, which uses the saved value. I assume one would replace 2em with \n? Could one use n1 instead of \n? So, is there any reason a function like my number does not exist?
Sep
8
comment Centering ellipses inside a rectangular node
@Andrew: That is probably true. Is it worth following up on this? Your code works for me.
Sep
8
asked saving computed number registers for access outside body of “let” operation
Sep
7
comment Centering ellipses inside a rectangular node
This sort of works, but the matrix structure (I assume) sort of pushes the placement of the second ellipse to the right. I'm not good enough at this to understand why this is the case. So, the diagram that is produced is lopsided. If anyone cares to explain why @Andrew's works and this doesn't, I'd be interested. I can post an example of this behavior if necessary.
Sep
7
comment Centering ellipses inside a rectangular node
Oh, and you wrote "For example, it's not clear to me whether you want the boundary of the ellipses to be the same distance from the nearside edge as from the top/bottom, or you just want the centre to be centred.". Having equal distances on all sides is not important, though it would not hurt. The important thing is for the ellipses to be symmetrically placed inside the rectangle, otherwise it looks ugly.
Sep
7
comment Centering ellipses inside a rectangular node
Yes, your code works fine in my matrix context. The earlier error was user error. Thanks.
Sep
7
comment Centering ellipses inside a rectangular node
You wrote, "your ellipses are inheriting some characteristics from the rectangular node and that messes them up". Is it possible to make them not inherit?
Sep
7
comment Centering ellipses inside a rectangular node
Yes. In hindsight I should have included that in the example, but I was trying to keep it simple. Shall I change it? Also, the matrix indeed does not seem to take kindly to having multiple nodes shoved into a single space.
Sep
7
comment Centering ellipses inside a rectangular node
Well, my major reason for the nesting was because this whole construction (rectangle + ellipses) is supposed to be one element of a matrix array. A single node works, but I don't know if multiple nodes will.
Sep
7
comment Centering ellipses inside a rectangular node
I think TikZ likes to have embedded tikzpictures inside nodes, but I'll let the experts comment on that. I'll give your solution a try and report back. Thanks.
Sep
7
comment Centering ellipses inside a rectangular node
As I recently added to the question, the plan is to have this rectangle (with accompanying sub-ellipses) as an element of a matrix layout. I haven't tried this, but I imagine that having the ellipses as nodes in the same scope would create problems with the matrix layout, which expects one node per location. I might be wrong - I'll give it a try.
Sep
7
revised Centering ellipses inside a rectangular node
added 416 characters in body
Sep
7
revised Centering ellipses inside a rectangular node
added 319 characters in body