Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
@Arshad_Ali wrote:
How the variable vector can be plotted on 2D xy plot
What exactly do you mean by "plotting the vector"?
If you see A(x) as a vector of a couple of functions (in your case three linear functions) you can do as was shown by Luc.
Using this interpretation the number of rows in A is not mandatory - you could use less or more than three.
You may also use a waterfall plot:
But you may also see A(x) as a coordinate vector of a point in 3D which is dependent on a parameter x.
In this case you would be after plotting a curve in 3D and may be interested in 2D views like top view, etc..
Of course here its mandatory that A consists of exactly three rows.
Like this:
You've defined a function A(x) which results in a vector of three different expressions in x. To plot them you need to separate them, that's what 's done with the indices 0, 1 and 2.
P.S. It's good habit to attach your worksheet file and state which version Prime you are using.
Success!
Luc
@Arshad_Ali wrote:
How the variable vector can be plotted on 2D xy plot
What exactly do you mean by "plotting the vector"?
If you see A(x) as a vector of a couple of functions (in your case three linear functions) you can do as was shown by Luc.
Using this interpretation the number of rows in A is not mandatory - you could use less or more than three.
You may also use a waterfall plot:
But you may also see A(x) as a coordinate vector of a point in 3D which is dependent on a parameter x.
In this case you would be after plotting a curve in 3D and may be interested in 2D views like top view, etc..
Of course here its mandatory that A consists of exactly three rows.
Thank you so much for providing the best solution, since I wanted a single plot of variable vector.
Thanks that you helped me.
Regards
Arshad