patch(tgx0+[-Nlong -Nlong Nlong Nlong],tgy0+[-Nlati Nlati Nlati -Nlati],'c:','EdgeColor','r','FaceColor','none')
时间: 2024-01-24 11:02:44 浏览: 100
tgx-converter:TGX到PNG,JPG,BMP转换器,用于Stronghold系列中使用的资源文件
This MATLAB code plots a red square patch with corners at (-Nlong, -Nlati), (-Nlong, Nlati), (Nlong, Nlati), and (Nlong, -Nlati) on a plot with x-axis values in the array tgx0 and y-axis values in the array tgy0. The 'c:' argument specifies a dashed cyan line style for the edge of the patch. The 'EdgeColor' argument sets the color of the patch edge to red, and the 'FaceColor' argument sets the fill color of the patch to none (i.e., transparent).
阅读全文