Page 1 of 1
Scatter plot two vectors
Posted: Mon Jun 03, 2019 9:29 am
by RDS
is it possible to scatter plot two vectors of equal size one on the Y-axis and the other on the X-axis?
Re: Scatter plot two vectors
Posted: Mon Jun 03, 2019 9:33 am
by EViews Gareth
Put them into a matrix.
Re: Scatter plot two vectors
Posted: Mon Jun 03, 2019 10:05 am
by RDS
I have now a matrix Z with two vectors.
Is there a piece of program I can use such as
scat Z(1) Z(2)
where the first vector is plotted on the Y-axis and the second vector is plotted on the X-axis?
Re: Scatter plot two vectors
Posted: Mon Jun 03, 2019 10:06 am
by EViews Gareth
Re: Scatter plot two vectors
Posted: Tue Jun 04, 2019 10:01 am
by RDS
I would like to add a result in a chart, but I cannot manage.
for example:
scalar scalar_x = 2.55555555555555
I first create a string:
string X = @str(scalar_X, "f7..3")
then I add it to the chart such as
graph.addtext(.1,2.75 .1) X
However, what I get is X and not 2.555.
How can I get 2.555 in a scatter plot?
Re: Scatter plot two vectors
Posted: Tue Jun 04, 2019 10:09 am
by EViews Gareth
use {X}
Re: Scatter plot two vectors
Posted: Fri Jun 07, 2019 2:43 am
by RDS
I have added two texts in my scatter plot
mygraph.addtext(0.1,0.1, x) TEXT1
mygraph.addtext(0.1,0.5, x) TEXT2
But I would like to remove the frame around them.
I tried various alternative unsuccessfully.
What should I do?
Re: Scatter plot two vectors
Posted: Fri Jun 07, 2019 9:44 am
by EViews Gareth
The x option instructs EViews to put a box around the text. If you don't want a box around the text, don't use the x option.
Re: Scatter plot two vectors
Posted: Wed Dec 25, 2019 10:44 pm
by Thomasd52
RDS wrote:I have now a matrix Z with two vectors.
Is there a piece of program I can use such as
scat Z(1) Z(2)
where the first vector is plotted on the Y-axis and the second vector is plotted on the X-axis
rachat de credit info ?
I too am looking for a program that can help me if someone has one.