看板 Visual_Basic 關於我們 聯絡資訊
各位高手好 想請問一下 我用MATLAB匯入兩筆陣列 然後想在VB2005的picturebox中將數據繪圖 就像是在MATLAB中的plot的指令一樣 可是我利用下列的程式碼 在picturebox中都沒有出現東西 可以請知道各位高手幫忙一下嗎? 謝謝.... 下列是我部分的程式碼 dim T1array(1000) as pointF dim gra as graphics dim bluepen as new pen(color.blue,3) gra=picturebox1.creategraphics gra.clear(color.white) for i = 0 to 999 T1array(i).X=T1x T1array(i).Y=T1y next gra.drawlines(bluepen,T1array) gra.dispose() -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.130.89.253