Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9865
| From | paul <paulvonhippel@yahoo.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Trouble plotting BSpline |
| Date | 2012-04-29 06:10 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jnim01$ait$1@smc.vnet.net> (permalink) |
I am having trouble plotting a BSpline. I fit the spline to data where y runs from 0 to 1, but when I try to plot the spline I see no curve, and I can't get the vertical axis to go above 0.15. I'm sure what I'm missing is simple. Many thanks for any corrections.
In[1]:= sdid = {{10000, 0.082925792},
{15000, 0.134594939},
{20000, 0.172655752},
{25000, 0.215181799},
{30000, 0.291941314},
{35000, 0.380820753},
{40000, 0.457367638},
{45000, 0.510312566},
{50000, 0.553051244},
{60000, 0.638103338},
{75000, 0.761428875},
{100000, 0.902615352},
{125000, 0.942802467},
{150000, 0.971082288},
{200000, 0.989368488}}
In[2]:= cdfspline = BSplineFunction[sdid]
In[3]:= ParametricPlot[cdfspline[x], {x, 0, 2000000}, {y, 0, 10}, AspectRatio -> 1]
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Trouble plotting BSpline paul <paulvonhippel@yahoo.com> - 2012-04-29 06:10 +0000
csiph-web