Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: MatrixForm to JPG

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64917] Re: [mg64888] Re: MatrixForm to JPG
  • From: ggroup at sarj.ca
  • Date: Tue, 7 Mar 2006 06:12:29 -0500 (EST)
  • References: <due7n1$9qb$1@smc.vnet.net> <440B0620.2090006@dordos.net> <200603061001.FAA05556@smc.vnet.net>
  • Reply-to: ggroup at sarj.ca
  • Sender: owner-wri-mathgroup at wolfram.com

Bruce,

Use a Text graphics primitive:

x = Table[Random[], {5}, {6}] // MatrixForm;
y = Graphics[{Text[x, {0, 0}]}, AspectRatio -> 1/3, ImageSize -> 400];
Show[y]

You'll have to play with the AspectRatio and ImageSize to display all
the text while minimizing wasted whitespace.

Once you're happy with the image, export y using the Export command.

Good luck!


On Monday, March 6, 2006 at 5:01 AM, Bruce W. Colletti wrote:

> Peter

> Thank you for the reply.

> I have always used your approach, but it now falls short because the image 
> quality isn't good enough.

> If there is a way (in a Mathematica session) to convert the MatrixForm 
> output to a graphic G, then I could use Export[..., G, 
> ImageResolution->X...] to produce a quality graphic.

> Any ideas?

> Thanks again.

> Bruce

> ----- Original Message ----- 
> From: "Peter Pein" <petsie at dordos.net>
To: mathgroup at smc.vnet.net
> Subject: [mg64917] [mg64888] Re: MatrixForm to JPG


>>
>> Bruce W. Colletti schrieb:
>>> Re Mathematica 5.2 under WinXP.
>>>
>>> How would I export the output of MatrixForm to a JPG file?
>>>
>>> Thankx.
>>>
>>> Bruce
>>>
>>>
>> Hi Bruce,
>>
>> select the output-cell, menu->Edit->Save Selection As->BMP and use an 
>> external program to convert the bitmap to jpg (www.irfanview.com)
>>
>> Peter
>>




  • Prev by Date: Listable functions with two brackets f[][] (SubValues)
  • Next by Date: Re: Plus Behavior Inside a Notation Box?
  • Previous by thread: Re: MatrixForm to JPG
  • Next by thread: Re: MatrixForm to JPG