Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: New definition of the Plot preference

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92432] Re: New definition of the Plot preference
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 30 Sep 2008 21:51:49 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <gbt2s4$len$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

and what may be the reason for the function SetOptions[] ?

Try:

SetOptions[Plot, Frame -> True,
   LabelStyle -> {FontFamily -> "Helvetica", FontSlant -> "Italic"}];
Plot[Sin[x], {x, 0, Pi}, PlotLabel -> "Hi!"]

or what ever you like.

Regards
   Jens


Yiping Huang wrote:
> I feel tired to give every parameters again and again in the Plot[,PlotStyle->...] command.
> Are there any method that I can set the parameters as I want. All I need to do is (List)Plot[data], and the figure can show as what I want it to be?
> 
> I try one way to redefine the Plot function,
> ListPlott[data_]:=ListPlot[data,{Parameters I want.}];
> The problem of the above definition is that I can't change the label of axes easily. So it is almost useless...
> 
> Are there any smarter way to redefine the command, maybe like
> Plott["label of x axis","label of y axis",data_]:=...and I can use a more convenient command
> 


  • Prev by Date: Re: mathematica newbie ?
  • Next by Date: Re: New definition of the Plot preference
  • Previous by thread: Re: New definition of the Plot preference
  • Next by thread: Re: New definition of the Plot preference