I'm trying out making a CDF and I want it to print within the margins of Letter paper. There is an ImageSize
option that I would like to set; some plots will be in a grid, some alone. I thought using Quantity
would be good for this since I know the width of the paper. I tried:
Plot[Sin[x], {x, 0, 4 Pi}, ImageSize -> {Quantity[4, "Inches"], Automatic}]
This gives an error:
The specified setting for the option Graphics3DBoxOptions, ImageSize cannot be used.
Does anyone know what is going on here? How do I set the image size in units? What are the units of ImageSize
? Can I use UnitConvert
on Quantity
to get to the ImageSize
units? I'm using Mma 10.
Thanks,
Edmund
Unit
-based answers were also given there. $\endgroup$toPrinterPointsMagnitude[distance_?QuantityQ] := QuantityMagnitude@UnitConvert[distance, "PrinterPoints"]
. This type of fully support solution is what I was looking for. $\endgroup$