Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello, i want to 3D plot a vector, but i cant seem to get any data, my vectors are:
Top := (0, 0, 146)
p1 := (-115, 115, 0)
p2 := (115, 115, 0)
p3 := (-115, -115, 0)
p4 := (115, -115, 0)
(Defined as a vertical matrix in mathcad)
When i try to plot these points like this: p1, p2, p3, p4, top i do not get any data, what am i doing wrong?
I'm not sure what you're trying to do. However, it works fine if this is what you want.
Raiko
Rauko, if you plot a row vector (a b c) in 3D, you get a polygon connecting the points (0,0,a) with (0,1,b) with (0,2,c). The y-coordinates just being consecutive indices. If you plot a column vector, the effect is the same, but x and y would be switched. The data you provide is seen as z-values in any case.
One way to plot a sinle point is to create a vector whose elements are 1x1 matrices consisting of the coordinates. Then plot that structure and format as "Data Points/Scatter Plot", not as "Surface plot". Its cumbersome. If you have change the format to datapoints, change back to surfaceplot and change back to datapoints again, the error remains. You have to change to vector field temporarily and then back to data points to make it work again. Tricky!
Its unclear to me, too, what Mathias is looking for, but as he wrote that he "sees not any data" I suppose he is using Prime (which IMHO shouldn't be used for 3D plots anyway).
Which version of Mathcad are you using?
What do you want to plot? Vectors or points given as vectors?
What are you expecting to see? Five vectors (line segments) beginning at the origin, five dots, a pyramid with a square base?