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

MathGroup Archive 2012

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

Search the Archive

Trouble plotting BSpline

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126290] Trouble plotting BSpline
  • From: paul <paulvonhippel at yahoo.com>
  • Date: Sun, 29 Apr 2012 02:08:45 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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]



  • Prev by Date: Getting only 1 of 3 curves of intersection
  • Next by Date: Re: PlotLegend
  • Previous by thread: Re: Getting only 1 of 3 curves of intersection
  • Next by thread: Re: Trouble plotting BSpline