Ok! Thanks!  When I'd used PyPlot directly, it combined two plot() calls 
into a single plot by itself, without me putting a ! anywhere.

Works beautifully now!  (and I had Alex cite you in his code ;-) )

On Tuesday, May 10, 2016 at 8:44:06 PM UTC-4, Tom Breloff wrote:
>
> Yup... You're missing a exclamation point. 'plot' creates a new figure, 
> and 'plot!' modifies a figure. If there's not a Plot object as the first 
> argument it will implicitly insert the currently active figure, so the 
> command is essentially 'plot!(current(), ...)'
>
> On Tuesday, May 10, 2016, Scott Jones <scott.pa...@gmail.com <javascript:>> 
> wrote:
>
>> The code and input CSV file are now on GitHub as public gists: (the code 
>> is not as fancy as yours, Alex knows how to do for loops and ifs, and has 
>> learned about creating and pushing to vectors, but not all that fancy stuff 
>> that even I didn't know ;-) )
>>
>> https://gist.github.com/ScottPJones/942f00a3a7b29f9504f6f868667dba29
>> https://gist.github.com/ScottPJones/1e41969afe07ef8b51113cce53c00575
>>
>> Do you see anything that I messed up in calling the plotting code, that 
>> makes it make two separate plots instead of one?
>>
>> Thanks,
>> Scott
>>
>

Reply via email to