On 9/13/12 8:11 AM, Goutam Paul wrote:
> Can we use the markers as alternatives for linestyles?
> Consider the following in sage:
>
> Suppose I have defined f(x) for a range already, say by the following:
>
> x = np.arange(0,1,0.001)
>
> import matplotlib.pyplot as plt
>
> plt.plot(x,f(x), color='magenta', linestyle='--', linewidth=4,
> label="$f(x)$")
>
> I want to know the equivalent syntax for '++' marker for the same plot
> of f(x) against (x).
We don't offer any other capabilities for this beyond what is built into
matplotlib (in fact, the code above uses numpy and matplotlib directly,
so there is no Sage involved). So I think the conversation you started
on the matplotlib list is the one to look at.
Thanks,
Jason