wolfram-mathematica

Can one export Special symbols / Cyrillic letters in plot labels when exporting graphics to PDF ?

守給你的承諾、 提交于 2019-12-01 16:57:20
I am trying to export a list of graphics as separate frames in PDF format in order to then compile a vector SWF animation with the aid of external utility (such as pdf2swf). Unfortunately, some special characters (e.g. Degree sign or triple dots) are corrupted in the exported PDF files. That is also the destiny of all Russian letters. Note that Mathematica rasterises graphics in a list when it is directly exported from Mma to SWF, which yields unsatisfactory results in my case. Is there a way to preserve those letters in exported graphics? Single graphics can be manually edited in a graphics

Can one export Special symbols / Cyrillic letters in plot labels when exporting graphics to PDF ?

孤人 提交于 2019-12-01 15:38:15
问题 I am trying to export a list of graphics as separate frames in PDF format in order to then compile a vector SWF animation with the aid of external utility (such as pdf2swf). Unfortunately, some special characters (e.g. Degree sign or triple dots) are corrupted in the exported PDF files. That is also the destiny of all Russian letters. Note that Mathematica rasterises graphics in a list when it is directly exported from Mma to SWF, which yields unsatisfactory results in my case. Is there a way

Cone image refinement

[亡魂溺海] 提交于 2019-12-01 15:22:41
Trying to make a nice three-dimensional graphics of cone intersected by a plane I choose a slight rearrangement of an existing approach in Mathematica (i.e. books by S.Mangano and S.Wagon). The code beneath is assumed to show so-called Dandelin construction : the inner and outer spheres tangent internally to a cone and also to a plane intersecting the cone. Tangency points of spheres to the plane at the same time are foci of the ellipse. Block[{r1, r2, m, h1, h2, C1, C2, M, MC1, MC2, T1, T2, cone, slope, plane}, {r1, r2} = {1.4, 3.4}; m = Tan[70.*Degree]; h1 := r1*Sqrt[1 + m^2]; h2 := r2*Sqrt

Cone image refinement

我只是一个虾纸丫 提交于 2019-12-01 14:15:14
问题 Trying to make a nice three-dimensional graphics of cone intersected by a plane I choose a slight rearrangement of an existing approach in Mathematica (i.e. books by S.Mangano and S.Wagon). The code beneath is assumed to show so-called Dandelin construction : the inner and outer spheres tangent internally to a cone and also to a plane intersecting the cone. Tangency points of spheres to the plane at the same time are foci of the ellipse. Block[{r1, r2, m, h1, h2, C1, C2, M, MC1, MC2, T1, T2,

Table/Tree of values

扶醉桌前 提交于 2019-12-01 12:55:38
My question: Is there a way to create a tree of values? Something like the output of the command TreeForm, but with values in the nodes? Why do I want this? I'm trying to do a complete program to analyse the output of my labs classes. Each column of data as a symbol assigned. In general, each column is meaningful: it's not just a pile of diferent variables. What i want to say is that in general,calculations are done "column wise".My problem is when i need a to do a calculation that needs a more envolved "horziontal" structure : Assigning the variables to columns lacks "horizontal flexibility"

Noncommutative Expand over addition in Mathematica

余生长醉 提交于 2019-12-01 12:29:19
I need to write a function(s) that completely expands noncommutative multiplication over addition? For example: a ** (b + c^2) would expand to a ** b + a ** c^2 and similarly from the right. I am using ReplaceRepeated (.//). Since I am using NonCommutativeMultiply instead of Times, Expand does not work. I was using the NCAlgebra package which has NCExpand, however ReplaceRepeated does not work when using this package (as stated in the NCAlgebra documentation...argh). To avoid breaking ReplaceRepeated , I need to code my own NCExpand that is not going to conflict. All ideas are welcome, thanks.

Table/Tree of values

有些话、适合烂在心里 提交于 2019-12-01 11:21:40
问题 My question: Is there a way to create a tree of values? Something like the output of the command TreeForm, but with values in the nodes? Why do I want this? I'm trying to do a complete program to analyse the output of my labs classes. Each column of data as a symbol assigned. In general, each column is meaningful: it's not just a pile of diferent variables. What i want to say is that in general,calculations are done "column wise".My problem is when i need a to do a calculation that needs a

Standard form of ellipse

五迷三道 提交于 2019-12-01 11:18:45
I'm getting ellipses as level curves of a fit dataset. After selecting a particular ellipse, I would like to report it as a center point, semi-major and minor axes lengths, and a rotation angle. In other words, I would like to transform (using mathematica) my ellipse equation from the form: Ax^2 + By^2 + Cx + Dy + Exy + F = 0 to a more standard form: ((xCos[alpha] - ySin[alpha] - h)^2)/(r^2) + ((xSin[alpha] + yCos[alpha] - k)^2)/(s^2) = 1 where (h,k) is the center, alpha is the rotation angle, and r and s are the semi-axes The actual equation I'm attempting to transform is 1.68052 x - 9.83173

Noncommutative Expand over addition in Mathematica

守給你的承諾、 提交于 2019-12-01 10:57:16
问题 I need to write a function(s) that completely expands noncommutative multiplication over addition? For example: a ** (b + c^2) would expand to a ** b + a ** c^2 and similarly from the right. I am using ReplaceRepeated (.//). Since I am using NonCommutativeMultiply instead of Times, Expand does not work. I was using the NCAlgebra package which has NCExpand, however ReplaceRepeated does not work when using this package (as stated in the NCAlgebra documentation...argh). To avoid breaking

Standard form of ellipse

ⅰ亾dé卋堺 提交于 2019-12-01 08:47:05
问题 I'm getting ellipses as level curves of a fit dataset. After selecting a particular ellipse, I would like to report it as a center point, semi-major and minor axes lengths, and a rotation angle. In other words, I would like to transform (using mathematica) my ellipse equation from the form: Ax^2 + By^2 + Cx + Dy + Exy + F = 0 to a more standard form: ((xCos[alpha] - ySin[alpha] - h)^2)/(r^2) + ((xSin[alpha] + yCos[alpha] - k)^2)/(s^2) = 1 where (h,k) is the center, alpha is the rotation angle