Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9537
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Plotting vectors on a linear function |
| Date | 2012-04-10 06:29 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jm0k13$af2$1@smc.vnet.net> (permalink) |
| References | <201204090935.FAA28511@smc.vnet.net> |
f[x_] = 1 - x;
Plot[f[x], {x, 0, 1},
Epilog -> {Darker[Red],
Table[
Arrow[{
{x, f[x]}, {x + 0.1, f[x] + 0.1}}],
{x, 0, 1, 0.1}]},
PlotRange -> {{0, 1.15}, {0, 1.15}}]
Bob Hanlon
On Mon, Apr 9, 2012 at 5:35 AM, Clemens Diderot <clmnsbchn@gmail.com> wrote:
> Hi all,
>
> I am trying to plot a linear function (y=1-x) together in one graph with a bunch of vectors, which have their tails on the function. A bit like in this example here: http://pic.twitter.com/GRfhjPRP
>
> Anyone any idea? Much appreciated!
>
> Best
> CD
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Plotting vectors on a linear function Bob Hanlon <hanlonr357@gmail.com> - 2012-04-10 06:29 +0000
csiph-web