Top "Dimensions" questions

Dimensions of an array define its size and shape -- the arangement of elements in the array.

Is there a simple way to get image dimensions in Ruby?

I'm looking for an easy way to get width and height dimensions for image files in Ruby without having to …

ruby image osx-snow-leopard dimensions
Get user's screen&viewport dimensions in php on first load

I want to get in PHP the height/width of both the screen and the viewport when a user visits …

php resolution dimensions
Can I hide an image button on a layout, (dimensions and background) until a call to set visible?

I have a hidden image button in one of my xmls layouts, with a background set to a drawable image. …

android layout imagebutton dimensions visible
If ScrollView only supports one direct child, how am I supposed to make a whole layout scrollable?

I have 3 text views in a layout, where the text clips a tad on the bottom on my droid 2... How …

android xml formatting scrollview dimensions
Set text size in .xml or programmatically

I have variable at dimens.xml <resources> <dimen name="btn_text_size">12sp</dimen> &…

android dimensions
How can I get the size of the android application window and not the physical screen size?

In Android, how can I get the size of the app window? I'm NOT looking for the physical screen size, …

android dimensions
Changing dimnames of matrices and data frames in R

Let's say I have created the following matrix: > x <- matrix(1:20000,nrow=100) > x[1:10,1:10] [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 1 101 201 301 401 501 601 701 801 901 [2,] 2 102 202 302 402 502 602 702 802 902 [3,] 3 103 203 303 403 503 603 703 803 903 [4,] 4 104 204 304 404 504 604 704 804 904 [5,] 5 105 205 305 405 505 605 705 805 905 [6,] 6 106 206 306 406 506 606 706 806 906 [7,] 7 107 207 307 407 507 607 707 807 907 [8,] 8 108 208 308 408 508 608 708 808 908 [9,] 9 109 209 309 409 509 609 709 809 909 [10,] 10 110 210 310 410 510 610 710 810 910 What are the methods …

r dimensions columnname rowname
Accessing image dimensions on an ImageField in a Django template?

I have ImageField in my model and I'm able to display the image in a template. However, how do I …

django image dimensions
Unwanted extra dimensions in NumPy array

I've opened a .fits image: scaled_flat1 = pyfits.open('scaled_flat1.fit') scaled_flat1a = scaled_flat1[0].data and when …

python numpy dimensions
When should the dimens.xml file be used in Android?

For instance, in a specific layout I have the following XML: <GridView android:id="@+id/gridView1" android:layout_width="…

android android-layout dimensions