[Date Index]
[Thread Index]
[Author Index]
Re: options in Plot
*To*: mathgroup at smc.vnet.net
*Subject*: [mg129191] Re: options in Plot
*From*: Bill Rowe <readnews at sbcglobal.net>
*Date*: Thu, 20 Dec 2012 03:23:57 -0500 (EST)
*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com
*Delivered-to*: l-mathgroup@wolfram.com
*Delivered-to*: mathgroup-newout@smc.vnet.net
*Delivered-to*: mathgroup-newsend@smc.vnet.net
On 12/19/12 at 4:55 AM, nigel.king at cambiumnetworks.com (Nigel King)
wrote:
>Hi MathGroup, Most Graphic functions allow applying a collection of
>options as in opts = {Frame -> True, GridLines -> {{1}, {1}}}
>One can then use the opts in the following plots ListPlot[{{1, 1}},
>opts] Plot[x, {x, 0, 1}, opts] The ListPlot works as expected, the
>Plot does not. It results with Plot[x, {x, 0, 1}, opts]
>I believe that this is a change from M8 to M9.
I cannot reproduce your results. I get the same plot in both:
In[3]:= $Version
Out[3]= 8.0 for Mac OS X x86 (64-bit) (October 5, 2011)
and
In[3]:= $Version
Out[3]= 9.0 for Mac OS X x86 (64-bit) (November 20, 2012)
I notice with the default coloring and default PointSize it
might be easy to miss the point being plotted since the
GridLines specification has the grid lines crossing where the
point is plotted.
Try
opts = {Frame -> True, PlotStyle -> {Red, PointSize[.02]},
GridLines -> {{1}, {1}}};
ListPlot[{{1, 1}}, opts]
just to make it more apparent the point is actually being plotted.
Prev by Date:
**Re: Input alias for Surd not working**
Next by Date:
**Re: Applying "Replace" to subsets of lists**
Previous by thread:
**Re: options in Plot**
Next by thread:
**problems with FinancialData**
| |