asteroid84

게시판 답변이 생성됐습니다

4 글 보임 - 1 에서 4 까지 (총 4 중에서)
  • 글쓴이
  • 답변: 라이센스 문의드립니다. #2436
    asteroid84
    회원

    친절한 답변 감사합니다!

    답변: XYOUTS 사용 시 noclip 문제 #2255
    asteroid84
    회원

    MAP_SET 명령에 limit 없이, scale만 주고, lambert 도법으로 그릴때가 가장 지도가 예뻐서 이렇게 사용하고 있었는데, 저 경우에는 limit을 사용하는 것이 좋겠군요.

    항상, 감사합니다!

    답변: XYOUTS 사용 시 noclip 문제 #2249
    asteroid84
    회원

    질문 드렸던 위 코드는 한 창에 두 개의 그림을 그리는 것으로,
    !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 사용 시 noclip 문제 #2247
    asteroid84
    회원

    아래와 같은 코드는 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=500

    map_set,(map_limit[0]+map_limit[2])/2,(map_limit[1]+map_limit[3])/2 $
    ,title=’NOCLIP= default’,/lambert,scale=scale

    XYOUTS,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=3

    map_continents
    map_grid,box=-1

    ;;—————————————————————————–
    ;; noclip=0
    window,1,xs=500,ys=500

    map_set,(map_limit[0]+map_limit[2])/2,(map_limit[1]+map_limit[3])/2 $
    ,title=’NOCLIP: 0′,/lambert,scale=scale

    XYOUTS,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=0

    map_continents
    map_grid,box=-1
    ;;—————————————————————————–
    END

4 글 보임 - 1 에서 4 까지 (총 4 중에서)