Re: ListPlot ignoring default options
- To: mathgroup at smc.vnet.net
- Subject: [mg84292] Re: [mg84254] ListPlot ignoring default options
- From: Brett Champion <brettc at wolfram.com>
- Date: Mon, 17 Dec 2007 19:20:40 -0500 (EST)
- References: <200712161036.FAA23851@smc.vnet.net>
On Dec 16, 2007, at 4:36 AM , nigol wrote:
> Does anybody know why the two graphs below look different? The second
> graph is not joined. It seems that ListPlot ignores the settings in
> Options[ListPlot].
>
> $Version
> 6.0 for Microsoft Windows (32-bit) (June 19, 2007)
>
> ListPlot[{1, 3, 2, 4}, Joined -> True]
>
> SetOptions[ListPlot, Joined -> True];
> ListPlot[{1, 3, 2, 4}]
It's a bug that was introduced in 6.0.1. Of course you can use
ListLinePlot instead of globally setting Joined->True for ListPlot.
Brett
- References:
- ListPlot ignoring default options
- From: nigol <dario.buttari@gmail.com>
- ListPlot ignoring default options