About the KEYLABEL option in GRAPH command
Posted: Mon Sep 07, 2009 10:35 pm
Hi, may I ask a question about the KEYLABEL option in GRAPH command?
My code is as follows:
declare vect[string] grakey
compute grakey = ||'BMS','S&T','EMS','ACT'||
graph(header='predicted values of BF and true out of sample BF',patterns,keylabel=grakey,key=below) 4
# ytf_ne / 3
# ytfs / 5
# ytxfs / 6
# ytafs / 1
I want to let the key to show as this: BMS for YTF_NE, S&T for YTFS, EMS for YTXFS, and ACT for YTAFS. However, the code report error like this:
## SX22. Expected Type INTEGER, Got VECTOR(STRING) Instead
>>>>ns,keylabel=grakey,<<<<
How to fix the problem?
Thank you very much!
My code is as follows:
declare vect[string] grakey
compute grakey = ||'BMS','S&T','EMS','ACT'||
graph(header='predicted values of BF and true out of sample BF',patterns,keylabel=grakey,key=below) 4
# ytf_ne / 3
# ytfs / 5
# ytxfs / 6
# ytafs / 1
I want to let the key to show as this: BMS for YTF_NE, S&T for YTFS, EMS for YTXFS, and ACT for YTAFS. However, the code report error like this:
## SX22. Expected Type INTEGER, Got VECTOR(STRING) Instead
>>>>ns,keylabel=grakey,<<<<
How to fix the problem?
Thank you very much!