Hi guys,
I am trying to map the result by using "spmap" command, yet keep having troubles with the error saying "master data not sorted"...
Below is the code that I used,
------------------------------------------------
use "$processed/production_regional.dta", clear
format weight_edible_ameday %4.2f
spmap weight_edible_ameday using vietmap_province_region3.dta, id(_ID) fcolor($colorscale) ///
legend(symy(*1) symx(*1) size(3) pos(4)) ///
title("Total harvest (kg/day/AME)", size($titlesize)) cln(7) ///clm(c) clb($cats) ///
note("Source: ***** crop production", size($notesize))
graph export "$maps/prod_region_weight.png", as(png) replace
------------------------------------------------
Can anyone tell me how I can resolve this problem?
Many thanks,
Manny
Related Posts with using "spmap"
stripplot: Getting rid of "graphs by ___ " note in lower leftI'm using the latest version stripplot (ran ssc install stripplot today) with both the over and by o…
Pseudo out-of-sample forecast using loopsHello, I have tried running a code given to me to predict a pseudo out-of-sample forecast using a lo…
error for displaying a large numberHello, To merge, I needed to make a specific identifier for each row. As you can see below, for eac…
Data type/precision -import dbf-I'd like advice on double vs. float precision on some data values obtained via import of a dbf file.…
How to generate a dummy variable in the dataset as attached in this post?I want to generate a dummy variable. When the name for the position of "GS" is the same for the posi…
Subscribe to:
Post Comments (Atom)
0 Response to using "spmap"
Post a Comment