看板 Mathematica 關於我們 聯絡資訊
請教各位大大 有個例子如下 A = LogLogPlot[x^3 + 3*x^2, {x, 1, 1000}, Frame -> True, GridLines -> Automatic] B = LogLogPlot[2*x^3 + 2*x^2, {x, 1, 1000}, Frame -> True, GridLines -> Automatic] 此時圖A與圖B畫出來是有GridLines 但我想把兩張圖整合成一張,所以使用了以下這個指令 Show[{A, B}, Frame -> True, GridLines -> Automatic] 此時雖然兩張圖會合成一張,但GridLines就消失了 想請問各位大大要如何解決此問題呢? 感謝解感 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.96.196.117
tjime831:有位大大分享了做法 08/24 16:02
tjime831:Show 那改 GridLines -> (GridLines /. B[[2]]) 就OK 讚 08/24 16:03