hi, am Mittwoch 26 September 2012, 20:12:49 schrieb Thomas Friedrichsmeier: > Working on my backlog of TODO items, I have added support for customizing > the size of figure margins to the (embedded) plot_options plugin. Since > figure margins need to be set *before* actually creating the plot, this > means plugins embedding plot_options have to fetch *three* snippets of code > from the plot_options plugin: Code to add before the plotting command(s), > code to add in the main plotting command, and code to add after the > plotting command(s).
ok, to make this easier for people using the rkwarddev package, it now (0.05-8) has a new function rk.paste.JS.graph(). it takes care of three things: - everything is placed between graph.on() and graph.off() (and those in "if(full)" conditions) - everything is inside a try() call - if global plot options are specified, everything is placed between their corresponding "preprocess" and "calculate" statements, so you only need to place the options inside the actual plot call yourself i have also added a function called rk.plotOptions() to make the embedding of plot options much easier. try the examples in ?rkwarddev::rk.plotOptions ?rkwarddev::rk.paste.JS.graph or examine the rkwarddev scripts in the external MDS plugin, which also uses rk.plotOptions() to enable text color selection. > - For the 2PL plot, some options, esp on the axes-tab do not seem to have an > effect. Options without an effect should be disabled / hidden. interesting, i cannot confirm this: i tried the 2PL plot with activated preview, and all options did have an effect here. > - Many plots have an argument named "type". This clashes with the option for > points/lines of the same name. Probably the corresponding tab should be > disabled. done. viele grüße :: m.eik -- dipl. psych. meik michalke institut f"ur experimentelle psychologie abt. f"ur diagnostik und differentielle psychologie heinrich-heine-universit"at d-40204 d"usseldorf
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel