게시판 답변이 생성됐습니다
-
글쓴이글
-
친절한 답변 감사합니다!
MAP_SET 명령에 limit 없이, scale만 주고, lambert 도법으로 그릴때가 가장 지도가 예뻐서 이렇게 사용하고 있었는데, 저 경우에는 limit을 사용하는 것이 좋겠군요.
항상, 감사합니다!
질문 드렸던 위 코드는 한 창에 두 개의 그림을 그리는 것으로,
!p.mulit=[0,2,1,0,0] 으로 설정되어 있습니다.결과물을 살펴보니,
첫 번째 그림에는 지도 영역 내에서만 xyouts이 적용되었으나,
오른편의 두 번째 그림에서는 지도 영역 밖으로 튀어나가는 것을 확인할 수 있었습니다.plots는 문제 없이 영역 내에서 그림이 그려지는데,
xyouts만 저러는 이유가 뭘까요..- 이 답변은 asteroid84에 의해 9 years, 3 months 전에 수정됐습니다.
- 이 답변은 asteroid84에 의해 9 years, 3 months 전에 수정됐습니다.
- 이 답변은 asteroid84에 의해 9 years, 3 months 전에 수정됐습니다.
아래와 같은 코드는 XYOUTS가 지도영역 밖으로 나가지 않네요.
궁금증이 더욱 커져갑니다. ㅠㅠPRO exam_xyouts_clip
map_limit=[30,110,50,130]
scale=23e6
!y.margin=[3,7]
!x.margin=[3,3]
;;—————————————————————————–
;; noclip=default
window,0,xs=500,ys=500map_set,(map_limit[0]+map_limit[2])/2,(map_limit[1]+map_limit[3])/2 $
,title=’NOCLIP= default’,/lambert,scale=scaleXYOUTS,120,40,’HELLO’,charthick=2,charsize=3
XYOUTS,120,52,’Nice to meet you’,charthick=2,charsize=3
XYOUTS,120,29,’Bye’,charthick=2,charsize=3map_continents
map_grid,box=-1;;—————————————————————————–
;; noclip=0
window,1,xs=500,ys=500map_set,(map_limit[0]+map_limit[2])/2,(map_limit[1]+map_limit[3])/2 $
,title=’NOCLIP: 0′,/lambert,scale=scaleXYOUTS,120,40,’HELLO’,charthick=2,charsize=3,noclip=0
XYOUTS,120,52,’Nice to meet you’,charthick=2,charsize=3,noclip=0
XYOUTS,120,29,’Bye’,charthick=2,charsize=3,noclip=0map_continents
map_grid,box=-1
;;—————————————————————————–
END -
글쓴이글