Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem with spmap label in persian language

    Hello.
    I'm plotting map with spmap command and i want to label the name of any city in persian language but stata does not show more than 6 letters and show ? character for two word names like this picture
    Click image for larger version

Name:	Graph.png
Views:	1
Size:	28.1 KB
ID:	1456052


    used code is
    spmap PC using gilcor, id(id) fcolor(Blues) label(xcoord(x_n) ycoord(y_n) label(city2)) legend(label(1 "شهرستان های فاقد پایگاه انتقال خون") )
    I would appreciate if anyone helps
    Last edited by Javad Ebrahimzadeh; 01 Aug 2018, 05:59.

  • #2
    All dear
    i solved the problem. just add length(21) to label code.
    this's final code
    Code:
      spmap PC using gilcor, id(id) fcolor(Blues) label(xcoord(x_n) ycoord(y_n) label(city2) length(21)) legend(label(1 "شهرستان های فاقد پایگاه انتقال خون") )

    Comment

    Working...
    X