使用version.string [R版本2.11.0(2010-04-22) quantmod 「0.3-17」
的Windows XP從綠盤Quantmod ChartSeries中線條顏色到另一種顏色
當使用在chartSeries
功能quantmod
與type="line"
圖表上顯示的線條顏色爲綠色。我想將顏色從綠色改爲其他顏色。
它看起來像我可以改變chartTheme
,但主題並沒有明確地有一個變量來改變線條的顯示顏色。因此,它是可以改變線圖的顯示使用中quantmod
chartSeries()
不同的顏色 -
使用plot()
功能時,我可以改變線條的顯示顏色?
另一種方式做,這是'setDefaults(ChartSeries中,up.col = 「黃金」)' 。這樣,每次調用'chartSeries'時,您不必一直調用'chartSeries(...,theme = chartTheme(up.col ='gold'))''。 – isomorphismes