Reactive mode #69
-
|
auto f = gcf(false); I am trying to use reactive mode for and interactive realtime graph but there is no gcf class that takes a false parameter in line 1 above. Any help? This code was copied from the documentation directly |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The interface needed to change and I forgot to update the docs. You can try: figure_handle f = figure(true);or figure_handle f = figure(false);Like in the geoplot_7.cpp example. You show also replace show();or draw();If you need to update your figure very often, it'd be better to use the non-reactive mode and call draw() explicitly, like in the geoplot_7.cpp example. I'll update the docs to fix that. Thanks, |
Beta Was this translation helpful? Give feedback.
-
|
Thanks alandefreitas |
Beta Was this translation helpful? Give feedback.
The interface needed to change and I forgot to update the docs. You can try:
figure_handle f = figure(true);or
figure_handle f = figure(false);Like in the geoplot_7.cpp example.
You show also replace
wait()with:show();or
draw();If you need to update your figure very often, it'd be better to use the non-reactive mode and call draw() explicitly, like in the geoplot_7.cpp example.
I'll update the docs to fix that.
Thanks,