- 积分
- 12
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2023-8-18
- 最后登录
- 1970-1-1
|
GrADS
系统平台: |
|
问题截图: |
- |
问题概况: |
ncl绘制散点图设置了多个颜色但仅显示一个颜色 |
我看过提问的智慧: |
看过 |
自己思考时长(天): |
1 |
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
代码中有关部分如下:
res@xyMarkLineModes = (/"Markers","Markers","Markers","Markers","Markers","Markers","Markers","Markers","Markers","Markers"/)
res@xyMonoMarker = True
;res@xyMarkers = (/1,1,1,1/)
res@xyMarker = 1
;res@xyMonoLineColor = False
res@xyMonoMarkerColor = False
;colors = read_colormap_file("cosam")
;delete(res@xyMarkerColors)
res@xyMarkerColors = (/33,68,81,97,111,129,145,161,177,209/);(/"blue","aquamarine","antiquewhite4","blueviolet","brown3","burlywood2","cadetblue1","chartreuse2","chocolate","darkgoldenrod1"/)
;res@xyLineColors = (/"blue","red"/)
res@xyMarkerSizeF = 0.1
尝试了用index和name设置xyMarkerColors均无效,十个点设置了十个颜色但画出来还是全都是蓝色,有没有朋友知道怎么回事啊
|
|