Page 1 of 1

### Scatter plot two vectors

Posted: Mon Jun 03, 2019 9:29 am
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
Put them into a matrix.

### Re: Scatter plot two vectors

Posted: Mon Jun 03, 2019 10:05 am
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

Code: Select all

`show z.scat`

### Re: Scatter plot two vectors

Posted: Tue Jun 04, 2019 10:01 am
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

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
use {X}

### Re: Scatter plot two vectors

Posted: Fri Jun 07, 2019 2:43 am
I have added two texts in my scatter plot

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
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
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.