Christian Feuersaenger | 19 Apr 2012 23:02

Re: [pgfplots] set mark line style as solid, thanks!

Hi Qingshuang Di,

Am 18.04.2012 12:08, schrieb qingshuang di:
> Dear Christian,
> Thanks for your reply!
> I think the second method is what I want.   Is that the \pgfplotsset{ 
> will define a new style?
>
Yes, the method can be used to define a new style - but more than that, 
it can also change the current configuration.

More precisely, if it contains something like <key>/.style={<options>}  
, it defines a *new* style named <key> which is equivalent to <options>.

So, the following defines a new style option called 'mynormal':
> I see someone use the following method
> \pgfplotsset{
> mynormal/.style={                        % <--- here is the new 
> defined option?
>  /pgfplots/width=.95\columnwidth,
>  .................
>
> \begin{tikzpicture}%
> %%\tikzset{mark options={solid}}
> \begin{semilogxaxis}[mynormal,            % <--- here is the new 
> defined option put?
>  xlabel={x label},
>  ylabel={y label},
>  xmin=1E-5,
>
(Continue reading)


Gmane