Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9537 > unrolled thread
| Started by | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| First post | 2012-04-10 06:29 +0000 |
| Last post | 2012-04-10 06:29 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Plotting vectors on a linear function Bob Hanlon <hanlonr357@gmail.com> - 2012-04-10 06:29 +0000
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Date | 2012-04-10 06:29 +0000 |
| Subject | Re: Plotting vectors on a linear function |
| Message-ID | <jm0k13$af2$1@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 top | Article view | comp.soft-sys.math.mathematica
csiph-web