how to set legends for some graph elements only
Posted: Wed May 11, 2016 2:27 am
Hello,
I want to put a legend for some graph elements only and leave the rest of the elements without a legend. how can I do it please ?
I tried this code:
goup group1 variable1 variable2
freeze(graph) group1.line
graph.setelem(1) legend ("forecast")
But this gives me the following error message:
invalid graph option in "do_graph.setelem(1) legend ("forecast")
what is wrong with this code and how can I leave the rest of the elements without legends?
Thank you for your responses.
I want to put a legend for some graph elements only and leave the rest of the elements without a legend. how can I do it please ?
I tried this code:
goup group1 variable1 variable2
freeze(graph) group1.line
graph.setelem(1) legend ("forecast")
But this gives me the following error message:
invalid graph option in "do_graph.setelem(1) legend ("forecast")
what is wrong with this code and how can I leave the rest of the elements without legends?
Thank you for your responses.