Re: Axes scales on ListPlot family

*To*: mathgroup at smc.vnet.net*Subject*: [mg125906] Re: Axes scales on ListPlot family*From*: Christoph Lhotka <christoph.lhotka at fundp.ac.be>*Date*: Fri, 6 Apr 2012 05:59:28 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com*References*: <201204050950.FAA13132@smc.vnet.net>

hello, here are two realizations of one example: f[i_] := i^2 ListPlot[Table[f[i], {i, 0, 1, .1}], DataRange -> {0, 1}] ListPlot[Table[{i, f[i]}, {i, 0, 1, .1}]] best, christoph On 04/05/2012 11:50 AM, JK wrote: > Hi all- > > I want to basically plot a user defined function discretely. > Let's say f[x] is the function. > What I want to do is: > > ListPlot[f[i],{i,0,1,0.1}] > > So I just want to plot the function with 10 arguments from 0 to 10 with incremental of 0.1. However, when we plot it, the x-axis is just the index which is 1 to 10 rather than 0 to 1. Is there anyway to fix this? > > Thanks > JK >

**References**:**Axes scales on ListPlot family***From:*JK <junkyung.auh@gmail.com>