³¢ÊÔÐýתµØÇòÒǵı±¼«ÊÓͼ

2021-02-04 23:36

ÎÒµÄÄ¿±êÊÇÉú³ÉÕâÑùµÄͼ±í¡£µ«ÊÇÎÒÏ£ÍûÄܹ»Î§ÈƱ±¼«ÐýתµØÇòÒÇ£¬ÕâÑùÎҾͿÉÒÔ±íʾһÌìÖеIJ»Í¬Ê±¼ä¡£µ±ÎÒʹÓÃImageRotateʱ£¬½á¹ûÓеãÆæ¹Ö¡£×óϽǵÄÄǸöСºÚµã

½â´ð¶¯Ì¬

  • Update£ºÔ­À´Ð±Í¶Ó°£¨J.M.ÌṩµÄÁ´½ÓÖÐÌáµ½£©ÒѾ­ÊµÏÖ¡£Ê¹ÓÃÑ¡Ïîquot£»-gt£»300£¬GeoRange-quot£»£¬GeoGridLines-gt£»GeoStyling[quot£»]£¬µØÖÊͶӰ-amp£»/@{-30£¬-60£¬45}£¬¼ä¾à[10]]
    ´ð°¸£º
    fresno=ʵÌå[quot£»£¬{quot£»Fresnoquot£»Californiaquot£»UnitedStatesgt£»400£¬GeoRange-quot£»Worldgt£»Automatic£¬GeoBackground-quot£»StreetMapNoLabelsgt£»{90£¬0}£¬GeoProjection-quot£»Orthographicgt£»400£¬µØÀí·¶Î§-quot£»ÊÀ½çgt£»×Ô¶¯£¬µØÀí±³¾°-quot£»StreetMapNoLabelsgt£»£¨Í¼ÏñÐýת[#£¬30¶È£¬Í¼Ïñ³ß´ç@#]gt£»{90£¬0}£¬µØÀíͶӰ-quot£»Õý½»gt£»¼¸ºÎ±ä»»[Point[x]£¬RotationTransform[30 Degree]]£» ¸ü¼òµ¥µÄ·½·¨ÊÇÐýת¹âÕ¤»¯µÄgeog1:
    raster=Rasterize[geog1£¬Background-gt£»None]£¬ImageSize-gt£»None]amp£»/@£¨Range[4]/5£©}]£»frames=Show[rotate[#Degree]£¬arrows£¬Background-gt£»All£¬ImageSize-quot£»rotateLog.gif"£»£¬frames]

    • kglrµÄ¸üдð°¸ÊǸüÕýÈ·µÄÑ¡Ïî¡£ÏÂÃæÊÇÎÒ²»Ì«ÕýÈ·µÄ´ð°¸¡£
      ÕâÀïÓÐÁ½¸ö¼¼ÇÉ-Ò»¸öÊDz»¹ÜµØÀí±³¾°ÈçºÎ¶¼Äܵõ½Ïàͬ´óСµÄͼÏñ£¬ÁíÒ»¸öÊÇʹÓÃImageCompose½«Ò»¸öͼÏñ·ÅÔÚÁíÒ»¸öͼÏñÖС£
      ÔÚÕâÀÎÒÃÇÓÐÒ»¸öº¯Êý£¬¿ÉÒÔÔÚÈκÎÐýתµÄÇé¿öÏ·µ»ØÏàͬ´óСµÄͼÏñ¡£ÕâÀïÓÐÒ»µãС¼¼ÇÉ£¬ÈõØÀí±³¾°ºÍͼƬ±³¾°±ä³É×ÏÉ«¡£²»ÐÒµÄÊÇ£¬µ±ÄúÔÚGeoGraphicsÉÏʹÓÃImageRotateʱ£¬ËüËƺõºöÂÔÁËalphaͨµÀ²¢½«±³¾°×ª»»Îª°×É«£¨¼´Ê¹Äú½«ÆäÉèÖÃΪNone»òTransparent£©¡£È»ºó£¬ÎÒÃǽ«ËùÓеÄ×ÏÉ«Ì滻Ϊ͸Ã÷µÄ£¬ÒԵõ½Ò»¸öºÜºÃµÄͼÏñ£¬ÎÒÃÇ¿ÉÒÔÓÃËüÀ´¹¹Í¼¡£Äú»¹¿ÉÒÔʹÓÃImageCropÀ´»ñµÃÒ»ÖµÄͼÏñ´óÐ £
      rotateGlobe[d­Y]£º=ColorReplace[ImageCrop@ImageRotate[GeoGraphics[GeoRangePadding-gt£»0£¬GeoBackground-quot£»º£°¶Ïßgt£»quot£»£¬GeoRange-quot£»ÊÀ½çgt£»×Ô¶¯£¬GeoCenter-gt£»Purple£¬ImageSize-gt£»Purple-quot£»¼ýÍ·"£»ÒÔ¸üÇå³þµØ˵Ã÷ÎÒÃÇÔÚ×öʲô¡£
      ¼ýÍ·=ͼÐÎ[{ºÚÉ«£¬¾ØÐÎ[{1.1£¬-1.1}£¬{6£¬1.1}]£¬°×É«£¬ºñ¶È[0.01]£¬¼ýÍ·[0.04]£¬±í[Arrow[{6£¬y}£¬{1.1£¬y}}]£¬{y£¬-1£¬1£¬0.5}]}] ÏÖÔÚÎÒÃÇ¿ÉÒÔÒ»ÆðÉèÖÃÕâÁ½¸ö¶¯»­¡£Í¼ÏñºÏ³ÉÕâÀïÊÇÄãµÄÅóÓÑ£¬ÒòΪÄãÓÐÁ½¸öÏ൱²»Í¬µÄ³ß´çͼÏñ¡£ÎÒ¾­³£Ê¹ÓÃËõ·Å£¬Ä¿²âËõ·ÅºÍλÖÃÖ±µ½Ëü¿´ÆðÀ´ÕýÈ·¡£
      Animate[ImageCompose[arrows£¬ImageResize[rotateGlobe[d]£¬Scaled[.25]]£¬Scaled[{.18£¬.5}]]£¬{d£¬-\[Pi]£¬\[Pi]£¬.1}] or£¬
      Table[ImageCompose[arrows£¬ImageResize[rotateGlobe[d]£¬Scaled[.25]]£¬Scaled[{.18£¬.5}]]£¬{d£¬-\[Pi]£¬\[Pi]£¬1}]

      • End

      ÃâÔðÉùÃ÷£º

      ±¾Ò³ÄÚÈݽö´ú±í×÷Õß±¾ÈËÒâ¼û£¬ÈôÒò´Ë²úÉúÈκξÀ·×ÓÉ×÷Õß±¾È˸ºÔ𣬸ÅÓëÇÙµºÍø¹«Ë¾Î޹ء£±¾Ò³ÄÚÈݽö¹©²Î¿¼£¬ÇëÄú¸ù¾Ý×ÔÉíʵ¼ÊÇé¿ö½÷É÷²Ù×÷¡£ÓÈÆäÉæ¼°Äú»òµÚÈý·½ÀûÒæµÈÊÂÏÇë×ÉѯרҵÈËÊ¿´¦Àí¡£