Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9464
| From | Murta <rodrigomurtax@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: ListPlot question |
| Date | 2012-04-06 09:52 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jlmecs$m5d$1@smc.vnet.net> (permalink) |
| References | <jljq20$ct8$1@smc.vnet.net> |
On Apr 5, 6:53 am, JK <junkyung....@gmail.com> wrote:
> I have a user defined function f[x]. I want to plot it discretely
> using ListPlot.
> Specifically, I want to do:
>
> ListPlot[f[x],{x,0,0.5,0.1}]
>
> So I want plot 5 point from the function with 5 sequence of arguments.
> However, the figure has an axis value of 0 to 5 instead of 0 to 0.5.
> Is there anyway to fix this?
>
> Thanks
> JK
Hi JK
Maybe this works for what you need.
ListPlot[Table[f[x],{x,0,0.5,0.1}],PlotRange -> {{0, 5}, All}]
best regards
Murta
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ListPlot question JK <junkyung.auh@gmail.com> - 2012-04-05 09:53 +0000 Re: ListPlot question Murta <rodrigomurtax@gmail.com> - 2012-04-06 09:52 +0000 Re: ListPlot question Yi Wang <tririverwangyi@gmail.com> - 2012-04-06 09:59 +0000 Re: ListPlot question Helen Read <readhpr@gmail.com> - 2012-04-06 10:02 +0000
csiph-web