View source: R/lang_wrappers_en.R
plot_static_world | R Documentation |
This function plots Karel'w wort at the requested time. Initially, time is 1
and with each action that Karel performs, time is incremented by one. Current
time is stored in pkg_env$moment
. This function is useful for
debugging and to get static images to be used in the examples in the handouts
for students. It's an internal function, not thought to be used by students,
but can be used with karel:::plot_static_world().
plot_static_world(time)
time |
The requested time |
Prints the plot.
if (interactive()) karel:::plot_static_world(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.