Re: Plot a function with constants
- To: mathgroup at smc.vnet.net
- Subject: [mg36006] Re: Plot a function with constants
- From: "Borut L" <gollum at email.si>
- Date: Mon, 12 Aug 2002 03:34:23 -0400 (EDT)
- References: <aj5b9t$aag$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hail physics-friend! The Tick command enables you to label ticks on axes. Here: Module[ { mu = .1, b = 100 }, Plot[1/(1 + Exp[-b (mu - e)]) , {e, 0, 2 mu} , Ticks -> {{{mu, "mu"}}, Range[0, 1, .2]} , AxesLabel -> {"e", "n(e)"} ] ] Your ascii picture looks nice too! Note there are no axis-arrows provided with above plot, look for them in some recent message in this group. Bye, Borut "Remi Dumas" <remi.dumasNOSPAM at club-internet.fr> wrote in message news:aj5b9t$aag$1 at smc.vnet.net... > I would like to plot this function : > 1 > n(e)=______________ > Exp[b(e-mu)]+1 > > and get a graphic like that, with the letters > > n(e) > ^ > | > | > 1| ____________ > | \ > | \ > | | > |_______________ \_____________________\ e > mu / > > how can i do it, i specified > SetAttributes{b,constant} etc ... but it don't work > > please help me, i use mathematica 4 > > > >