setelem in scatter diagrams

For making suggestions and/or requests for new features you'd like added to EViews.

Moderators: EViews Gareth, EViews Moderator

zezza
Posts: 13
Joined: Fri May 28, 2010 5:27 am

setelem in scatter diagrams

Postby zezza » Wed May 02, 2018 2:50 am

As a follow up to the discussion here
viewtopic.php?f=3&t=19004&hilit=scatter

I would suggest to improve the treatment of SETELEM when using a scatter diagram. In the current Eviews version,

Code: Select all

mychart.SETELEM(1) symbol(FILLEDCIRCLE) linecolor(red)


will, as expected, draw the first Y series with a red circle. But the instruction

Code: Select all

mychart.SETELEM(1) legend(This is my first Y series)


will attach the legend to the variable on the X axis, so that to provide a legend to the first (second, third, etc.) Y series I have to call a separate SETELEM instruction. With two Y series what I need is now

Code: Select all

mychart.SETELEM(1) symbol(FILLEDCIRCLE) linecolor(red)
mychart.SETELEM(2) symbol(FILLEDCIRCLE) linecolor(black)
mychart.SETELEM(1) legend(This is my X variable)
mychart.SETELEM(2) legend(This is my first Y series)
mychart.SETELEM(3) legend(This is my second Y series)

which is somewhat counter-intuitive

Return to “Suggestions and Requests”

Who is online

Users browsing this forum: No registered users and 1 guest