Re: plotting of curve
- To: mathgroup at smc.vnet.net
- Subject: [mg42157] Re: plotting of curve
- From: gohtk at rocketmail.com (goh tat kean)
- Date: Sat, 21 Jun 2003 02:49:34 -0400 (EDT)
- References: <bcuiaf$2p9$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Dear Kee, I am not sure whether I understand your question correctly. What I think are given as below: You have an equation of 2*Exp[1/(Wx)]/(587 - x)^2, I rewrite it as y = 2*Exp[1/(w x)]/(587 - x)^2 You mentioned w = 5.8 and you want to plot the generated equation as y against 1/(w x), w = 5.8; Create a table comprises of 1/(w x) and y (your equation), list1 = Table[{1/(w x), y}, {x, 1, 20}]; Plot the values, p1=ListPlot[list1]; Hope this can help. Good luck! Regards, tat kean ce.choa.phen.kee at philips.com wrote in message news:<bcuiaf$2p9$1 at smc.vnet.net>... > Hi all, > > May I know how can I plot this equation 2*Exp[1/(Wx)]/(587 - x)^2 which I have gotten from > this function: NonlinearFit[values, (MM * Exp[1/Wx])/(NN-x)^2, > {x,1/(Wx)},{{MM,5},{NN,600}}]? > > I made use of x-values and 1/(Wx) values to fit the data into the desired > equations. But just have no idea on how to plot the generated equation as y against 1/(Wx). > > Given W is 5.8 and the two x in the equation are both using the same > x-values.. > > pls guide.. > > Thanks in advance. > > regards, > kee