You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to do a @demo visualization with some sliders that affect the output on two different plots, but I can't seem to get it to display both plots at the same time.
Here's some pseudocode to give you an idea of what I'm doing and what I've tried:
@demo for a in a_min:a_step:a_max, b in b_min:b_step:b_max
calc_results = do_some_calculations(a, b)
p1 = plot(calc_results)
plot!(p1, more_stuff)
p2 = plot(whatever_else)
plot!(p2, even_more_stuff)
# now here are several things that *don't* work...
plot(p1, p2) # this gives only the sliders and the second plot
CompositePlot([p1, p2]) # same thing, just sliders and p2
show(CompositePlot([p1, p2]) # this gives a TON of text that gets truncated
end
Is this a bug or do I have the syntax wrong?
The text was updated successfully, but these errors were encountered:
I'm trying to do a @demo visualization with some sliders that affect the output on two different plots, but I can't seem to get it to display both plots at the same time.
Here's some pseudocode to give you an idea of what I'm doing and what I've tried:
Is this a bug or do I have the syntax wrong?
The text was updated successfully, but these errors were encountered: