Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9865 > unrolled thread

Trouble plotting BSpline

Started bypaul <paulvonhippel@yahoo.com>
First post2012-04-29 06:10 +0000
Last post2012-04-29 06:10 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Trouble plotting BSpline paul <paulvonhippel@yahoo.com> - 2012-04-29 06:10 +0000

#9865 — Trouble plotting BSpline

Frompaul <paulvonhippel@yahoo.com>
Date2012-04-29 06:10 +0000
SubjectTrouble plotting BSpline
Message-ID<jnim01$ait$1@smc.vnet.net>
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]

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web