Page 1 of 1
Edit Array
Posted: Tue Dec 20, 2011 1:36 pm
by Kjell
@Ville
Could you please consider swapping the dimension order in which data is displayed for 2D / 3D Arrays? Tried to get used to it .. but it still trips me up
K
Posted: Wed Dec 21, 2011 11:06 am
by VilleK
The way you present it now with the images it seems obvious it should be the other way around, but I remember the ordering felt intuitive for me when I initially did it. Perhaps a setting or at captions that show which dimension belongs a particular axis.
Posted: Wed Dec 21, 2011 12:59 pm
by Kjell
Hej Ville,
VilleK wrote:The way you present it now with the images it seems obvious it should be the other way around, but I remember the ordering felt intuitive for me when I initially did it.
Guess it depends what you're using the array for. When it comes to spatial data, the current layout doesn't feel intuitive ( to me ). A switch / setting to toggle between the modes might be best. Or I should just stick to reading / writing arrays in the "Value = Array[Z,Y,X];" format
Just to clarify .. on the left are the current layouts for 1D / 2D / 3D arrays, and on the right is what I personally prefer for spatial data.
K
pasting to a nth index of a multidimentional array?
Posted: Sat Dec 24, 2011 1:40 am
by StevenM
I don't normally use persistent array values so I don't know much about the copy and paste functionality. I am working on a project where I would like to use a persistent 2D array- but I was wondering if it is possible to paste a set of values to to each row, instead of all at once. The reason is because it is a fairly large 2D array (nx256) that would eventually be a bit hard to generate, copy, paste all values at once.