首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏气象学家

    BeautifulMakie绝对是一个Julia的宝藏级可视化库

    .+ 3astro.ntotEVA, astro.total_eva_hrs ; # point size, color palette gridLines = LinRange(log10(offhr ), maximum(astro.evaM), 6) horas = (10 .^ gridLines .- offhr)*median(60*astro.eva_hrs_mission)/60 (astro.θ) for gl in gridLines] yg = [rPts * gl .* sin. (astro.θ) for gl in gridLines] # in order to use linesegments (faster to plot) xyos = getPoints ([rPts*gridLines[1], rPts*gridLines[end]],[0,0],linestyle = :dash, linewidth = 2, color =

    79120编辑于 2022-01-18
  • 来自专栏好奇心Log

    BeautifulMakie绝对是一个Julia的宝藏级可视化库

    .+ 3astro.ntotEVA, astro.total_eva_hrs ; # point size, color palette gridLines = LinRange(log10(offhr ), maximum(astro.evaM), 6) horas = (10 .^ gridLines .- offhr)*median(60*astro.eva_hrs_mission)/60 (astro.θ) for gl in gridLines] yg = [rPts * gl .* sin. (astro.θ) for gl in gridLines] # in order to use linesegments (faster to plot) xyos = getPoints ([rPts*gridLines[1], rPts*gridLines[end]],[0,0],linestyle = :dash, linewidth = 2, color =

    1K20编辑于 2022-04-15
  • 来自专栏气象杂货铺

    使用 Cartopy 和 netCDF4 可视化 WRF 模式数据

    projection = ccrs.PlateCarree())) ax.contourf(lon, lat, t) ax.coastlines(resolution = '10m') # 设置 gridlines 和 ticklabels gl = ax.gridlines(draw_labels = True, linewidth = 1.5) gl.xlabels_top = False gl.xlines ax.barbs(lon[::5,::5], lat[::5,::5], u[::5,::5], v[::5,::5]) ax.coastlines(resolution = '10m') gl = ax.gridlines Conformal 投影,但是Cartopy 对除 Mercator 和 PlateCarree 投影外的其它投影支持并不是很完美,比如仅 Mercator 和 PlateCarree 投影支持设置 gridlines

    2.8K20发布于 2020-04-20
  • 来自专栏Python in AI-IOT

    Python开发物联网数据分析平台---设备数据概览

    scales: { yAxes: [{ // display: false, gridLines ticksStyle) }], xAxes: [{ display: true, gridLines ticksStyle) }], xAxes: [{ display: true, gridLines ticksStyle) }], xAxes: [{ display: true, gridLines ticksStyle) }], xAxes: [{ display: true, gridLines

    2.5K30发布于 2019-11-22
  • 来自专栏MeteoAI

    python教程 | 最标准的地图调用方式(国家测绘局提供数据)

    ccrs.PlateCarree()) request = TDT_vec() ax.add_image(request, 9) ax.set_title('天地图矢量底图',fontsize=15) gl = ax.gridlines ccrs.PlateCarree()) request = TDT_img() ax.add_image(request, 9) ax.set_title('天地图影像底图',fontsize=15) gl = ax.gridlines ccrs.PlateCarree()) request = TDT_ter() ax.add_image(request, 9) ax.set_title('天地图地形底图',fontsize=15) gl = ax.gridlines = TDT_img() ax.add_image(request, i) ax.set_title('Level='+str(i),fontsize=15) gl = ax.gridlines

    1.8K11发布于 2020-10-10
  • 来自专栏自学气象人

    用python在地球投影中轻松添加图形标注

    当存在地图投影时 前面提到过,matplotlib.patches.xxxx 方法可以接收 transform 地图投影参数,但在实际使用时发现该参数在极地投影的情况下,不能实现想要的效果,建议使用gridlines facecolor='none') ax.add_patch(circle) # 显示地图 plt.show() result 2、极地投影 以极射赤平投影为例,绘制75°N的纬度圈(黄色标注),gridlines # 设置地图的显示范围为-180到180经度,0到90纬度 ax.set_extent([-180, 180, 0, 90], ccrs.PlateCarree()) # 设置网格线颜色 ax.gridlines (color='black',alpha=0.2,linestyle='--') # 设置75N的网格线颜色为黄色 ax.gridlines(xlocs=[], ylocs=[10, 30, 60,

    2.3K20编辑于 2023-09-05
  • 来自专栏数据 学术 商业 新闻

    Python-R-三相元图(ternary plots)绘制

    官网为:https://github.com/marcharper/python-ternary,我们绘制几副官网的图例,其他样例,大家可以参考官网: 样例一:Simplex Boundary and Gridlines import pandas as pd import numpy as np import matplotlib.pyplot as plt ## Boundary and Gridlines fig 30 figure, tax = ternary.figure(scale=scale,ax=ax) figure.set_size_inches(6, 6) # Draw Boundary and Gridlines tax.boundary(linewidth=1.5) tax.gridlines(color="black", multiple=6) tax.gridlines(color="blue", multiple =2, linewidth=0.5) # Set Axis labels and Title fontsize = 12 tax.set_title("Simplex Boundary and Gridlines

    2.3K11发布于 2021-02-22
  • 来自专栏全栈程序员必看

    谈谈CListCtrl 扩展风格设置方法-SetExtendedStyle和ModifyStyleEx 比較

    ModifyStyleEx 比較 对于刚開始学习的人来说,当他须要设定listctrl的扩展风格时,经常想到用ModifyStyleEx 来设定,代码例如以下: ModifyStyleEx(0,LVS_EX_GRIDLINES ) 这是不对的,正确的设定应该是: SetExtendedStyle(LVS_EX_GRIDLINES) 那么,ModifyStyleEx和SetExtendedStyle差别在哪里? WS_VISIBLE|LVS_REPORT,CRect(0,0,100,100),this,0); 但对于扩展风格却不能这么做: m_list.CreateEx(WS_EX_CLIENTEDGE|LVS_EX_GRIDLINES

    60730编辑于 2022-09-09
  • 来自专栏数据 学术 商业 新闻

    三元相图(ternary plots)的还不会?!附上超完整的绘制教程(Python+R)~~

    官网为:https://github.com/marcharper/python-ternary,我们绘制几副官网的图例,其他样例,大家可以参考官网: 样例一:Simplex Boundary and Gridlines import pandas as pd import numpy as np import matplotlib.pyplot as plt ## Boundary and Gridlines fig 30 figure, tax = ternary.figure(scale=scale,ax=ax) figure.set_size_inches(6, 6) # Draw Boundary and Gridlines tax.boundary(linewidth=1.5) tax.gridlines(color="black", multiple=6) tax.gridlines(color="blue", multiple =2, linewidth=0.5) # Set Axis labels and Title fontsize = 12 tax.set_title("Simplex Boundary and Gridlines

    3.5K40编辑于 2022-10-25
  • 来自专栏数据 学术 商业 新闻

    我汇总了所有三元相图(ternary plots)的绘制方法,超实用!!

    官网为:https://github.com/marcharper/python-ternary,我们绘制几副官网的图例,其他样例,大家可以参考官网: 样例一:Simplex Boundary and Gridlines import pandas as pd import numpy as np import matplotlib.pyplot as plt ## Boundary and Gridlines fig 30 figure, tax = ternary.figure(scale=scale,ax=ax) figure.set_size_inches(6, 6) # Draw Boundary and Gridlines tax.boundary(linewidth=1.5) tax.gridlines(color="black", multiple=6) tax.gridlines(color="blue", multiple =2, linewidth=0.5) # Set Axis labels and Title fontsize = 12 tax.set_title("Simplex Boundary and Gridlines

    14.2K31编辑于 2022-02-17
  • 来自专栏气python风雨

    WRF domain 绘制改进

    (xlocs=xticks, ylocs=yticks) font3={'family':'SimHei','size':14,'color':'k'} ax.gridlines(xlocs=xticks (xlocs=xticks, ylocs=yticks) ax_inset.gridlines(xlocs=xticks, ylocs=yticks, draw_labels=False, linewidth =0.8, color='k', alpha=0.6, linestyle='--') # Label the end-points of the gridlines using the custom (xlocs=xticks, ylocs=yticks) font3={'family':'SimHei','size':14,'color':'k'} ax.gridlines(xlocs=xticks =0.8, color='k', alpha=0.6, linestyle='--') # Label the end-points of the gridlines using the custom

    72810编辑于 2024-06-20
  • 来自专栏全栈程序员必看

    谈谈CListCtrl 扩展风格设置方法-SetExtendedStyle和ModifyStyleEx 比较[通俗易懂]

    SetExtendedStyle和ModifyStyleEx 比较 对于初学者来说,当他需要设定listctrl的扩展风格时,常常想到用ModifyStyleEx 来设定,代码如下: ModifyStyleEx(0,LVS_EX_GRIDLINES ) 这是不正确的,正确的设定应该是: SetExtendedStyle(LVS_EX_GRIDLINES) 那么,ModifyStyleEx和SetExtendedStyle区别在哪里? WS_VISIBLE|LVS_REPORT,CRect(0,0,100,100),this,0); 但对于扩展风格却不能这么做: m_list.CreateEx(WS_EX_CLIENTEDGE|LVS_EX_GRIDLINES

    66730编辑于 2022-09-09
  • 来自专栏生信宝典

    增强火山图,要不要试一下?

    = FALSE, gridlines.minor = FALSE) ? = TRUE, gridlines.minor = FALSE, border = 'partial', borderWidth = 1.5, borderColour = TRUE, gridlines.minor = FALSE, border = 'full', borderWidth = 1.0, borderColour = = TRUE, gridlines.minor = FALSE, border = 'partial', borderWidth = 1.5, borderColour = TRUE, gridlines.minor = FALSE, border = 'full', borderWidth = 1.0, borderColour =

    2.8K10发布于 2019-06-26
  • 来自专栏气python风雨

    关于上期葵花卫星绘图补充

    ax.imshow(rgb, origin='upper', extent=(x.min(), x.max(), y.min(), y.max()), transform=geos) # 添加经纬度网格线 ax.gridlines linewidth=1) plt.title('True Color', loc='left', fontweight='bold', fontsize=15) plt.show() 只需添加ax.gridlines 50m', color='white', linewidth=1) ax2.add_feature(ccrs.cartopy.feature.STATES, linewidth=1) gl = ax1.gridlines

    29810编辑于 2024-06-20
  • 来自专栏气象学家

    Python教程 | 最标准的地图调用方式(国家测绘局提供数据)

    ccrs.PlateCarree()) request = TDT_vec() ax.add_image(request, 9) ax.set_title('天地图矢量底图',fontsize=15) gl = ax.gridlines ccrs.PlateCarree()) request = TDT_img() ax.add_image(request, 9) ax.set_title('天地图影像底图',fontsize=15) gl = ax.gridlines ccrs.PlateCarree()) request = TDT_ter() ax.add_image(request, 9) ax.set_title('天地图地形底图',fontsize=15) gl = ax.gridlines = TDT_img() ax.add_image(request, i) ax.set_title('Level='+str(i),fontsize=15) gl = ax.gridlines

    1.5K20发布于 2020-10-09
  • 来自专栏全栈程序员必看

    CListCtrl 扩展风格设置方法—SetExtendedStyle和ModifyStyleEx

    想把ListCtr设置为整行高亮显示 错误的方法为: 1 clistctrl.ModifyStyleEx(0,LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES); 正确的方法为 : 1 DWORD dwStyle = clistctrl.GetExtendedStyle(); 2 dwStyle |= LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES

    59320编辑于 2022-09-09
  • 来自专栏全栈程序员必看

    gridview属性_GridView

    GridLines=”Both”会带来border=1,rules=all这两个属性,设置GridLines=”None”后border=0,rules属性则不会出现。 1.单元格都有边框线,效果如下: <asp:GridViewID=”GridView1″ runat=”server” CellPadding=”3″GridLines=”None” BackColor HeaderStyleBackColor=”#A6CBEF” Font-Bold=”True”ForeColor=”#404040″ BorderColor=”#A6CBEF” /> </asp:GridView> 说明:GridLines 1px black;} </style> <asp:GridViewID=”GridView1″ CssClass=”table” runat=”server”CellPadding=”3″ GridLines

    2.2K20编辑于 2022-11-08
  • 来自专栏Python in AI-IOT

    Python开发物联网数据分析平台---数据看板

    legend: { display: false }, scales: { xAxes: [{ gridLines display: false, } }], yAxes: [{ gridLines ticks: { fontColor: '#efefef', }, gridLines scales: { yAxes: [{ // display: false, gridLines ticksStyle) }], xAxes: [{ display: true, gridLines

    4.4K30发布于 2019-11-01
  • 来自专栏数据 学术 商业 新闻

    python教程 | 最标准的地图调用方式(国家测绘局提供数据)

    ccrs.PlateCarree()) request = TDT_vec() ax.add_image(request, 9) ax.set_title('天地图矢量底图',fontsize=15) gl = ax.gridlines ccrs.PlateCarree()) request = TDT_img() ax.add_image(request, 9) ax.set_title('天地图影像底图',fontsize=15) gl = ax.gridlines ccrs.PlateCarree()) request = TDT_ter() ax.add_image(request, 9) ax.set_title('天地图地形底图',fontsize=15) gl = ax.gridlines = TDT_img() ax.add_image(request, i) ax.set_title('Level='+str(i),fontsize=15) gl = ax.gridlines

    70420发布于 2021-02-22
  • 来自专栏好奇心Log

    python教程 | 最标准的地图调用方式(国家测绘局提供数据)

    ccrs.PlateCarree()) request = TDT_vec() ax.add_image(request, 9) ax.set_title('天地图矢量底图',fontsize=15) gl = ax.gridlines ccrs.PlateCarree()) request = TDT_img() ax.add_image(request, 9) ax.set_title('天地图影像底图',fontsize=15) gl = ax.gridlines ccrs.PlateCarree()) request = TDT_ter() ax.add_image(request, 9) ax.set_title('天地图地形底图',fontsize=15) gl = ax.gridlines = TDT_img() ax.add_image(request, i) ax.set_title('Level='+str(i),fontsize=15) gl = ax.gridlines

    2.4K32发布于 2020-10-15
领券