1
1×3セルA
考えてみましょう:Ai
の構造があるようです3Dプロットで異なる色のセルに各マトリックスをプロットするにはどうすればよいですか?
A = { [A1] [A2] [A3] }
A = {[1 2 3; 4 5 6; 7 8 9] [6 5 4; 9 8 7] [1 1 1]}
を:
A1 = [ 1 2 3 %coordinate (x,y,z) of point 1
4 5 6 %coordinate (x,y,z) of point 2
7 8 9 ] %coordinate (x,y,z) of point 3
A2 = [ 6 5 4 %coordinate (x,y,z) of point 4
9 8 7 ] %coordinate (x,y,z) of point 5
A3 = [ 1 1 1 ] %coordinate (x,y,z) of point 6
我々はA1
のすべてのポイントのために一つの色を使用するように、すべてのこれらの点をプロットする方法、 A2
のすべての点のための別の色とA3
のすべての点のためのいくつかの他の色?
一般に、1xnのセル、つまりA = { [A1] [A2] [A3] ... [An] }
がある場合、これはどのように行うことができますか?