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

MathGroup Archive 2007

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

Search the Archive

raster and aspectratio

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81248] raster and aspectratio
  • From: "sdw" <warwick at jps.net>
  • Date: Mon, 17 Sep 2007 03:39:19 -0400 (EDT)

I am finding that a list of graphics primitives made of raster images 
are being distorted by an aspectratio specification applied to the 
surrounding graphics call.  need simple way to keep those images at the 
original aspect ratio, but have to overall graphics generated be 
modified by the aspectratio.  in other words,  the images are icons, and 
do not want to be stretched as the graphic is stretched wider. 

tabout = Table[Translate[Scale[rasterimage, {1, i}, {0, 0}], {i, 0}], 
{i, 1, 4}]; (* some raster images at different origins and scales *)



Graphics[tabout, Frame -> True, GridLines -> Automatic, AspectRatio -> 
.7]  (* output with grid and frames - not a pretty sight! *)



ideas?



on a side note,  the ability to annotate graphics after the fact is 
nice, but becomes quickly of limited value when you find that the 
annotations disappear when the underlying graphics are re-rendered.   
yes, you can find the code using ctrl-shift E but it is buried pretty 
deep.  someday, let's have a nice window that provides the code that is 
being generated so you can approach what people do in other 10-year old 
applications...




  • Prev by Date: piecewise functions from logical relationships (ie. solving with constraints)
  • Next by Date: Re: Changing Textbook.nb to label equations
  • Previous by thread: Re: piecewise functions from logical relationships (ie. solving with constraints)
  • Next by thread: Re: Changing Textbook.nb to label equations