看板 Mathematica 關於我們 聯絡資訊
各位大大們 我最近在做寫出檔案時 發現寫出的數據到一個長度時 mathematica會用\ 換行 請問各位前輩 能否為我解答 成功解決的大大,第一位500p以表謝意 我的寫出為; For[I=0,I<=5,I++, 。 。。(略) 。。。 Write[str,I,"",a,"",b,"",c,"",d] ] close[str] http://i.imgur.com/la2tBwp.jpg
----- Sent from JPTT on my Asus ASUS_Z017DA. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 120.107.208.216 ※ 文章網址: https://www.ptt.cc/bbs/Mathematica/M.1519874170.A.A4C.html
Sanvean: 你的 OutputStream 也就是 str 有一個 page width 預設是 03/01 14:47
Sanvean: 78, 也機是說 78 個字就會換行 03/01 14:48
Sanvean: 可以在 Mathematica 的 doc 中找 PageWidth,裡面有範例 03/01 14:53
iyppuafq: http://i.imgur.com/nOYqhuG.jpg 03/01 15:18
iyppuafq: 成功了 p幣已發出囉~ 03/01 15:19