Expressions as images
- To: mathgroup at smc.vnet.net
- Subject: [mg117318] Expressions as images
- From: ÅerÃch Jakub <Serych at panska.cz>
- Date: Tue, 15 Mar 2011 06:03:24 -0500 (EST)
Dear Mathgroup, I would like to create .png images from some expressions using Mathematica. It works, but it has two problems: 1) How to hold exactly the form in which I have entered the expression? For example this expression: ((3 a b)/(25 x^2 y^2))^-3/((4 a)/(5 x y^2))^-3 (entered in 2D form using for example Palettes) is always simplified by Mathematica to: 1/(((3 a b)/(25 x^2 y^2))^3/((4 a)/(5 x y^2))^3) I tried to use Hold and Defer but it is always simplified. 2) Export is "optimising" images so that long expression is divided into more lines. How to keep it in one line? I tried the AspectRatio and ImageSize options, but without any success. Example (in original also entered in 2D form): Export["filename.png", Defer[(1/m^2 - (3 m)/n + 2/(m n)) (m^3 + Sqrt[16 m^4 n^6] + 5 n^5)], ImageResolution -> 300] Thanks for any info Jakub