NicMcPhee / push-simplification-for-generalization

Paper, talks, and scripts for GECCO 2017 paper on how simplifying PUSH programs improves generalization
MIT License
0 stars 0 forks source link

Convert visualization script to KnitR #1

Open NicMcPhee opened 7 years ago

NicMcPhee commented 7 years ago

It would be nice if simplification_viz.R was a KnitR file, as that would make it easier to runs parts of it separately, share on-line, etc.

Not a high priority item, but it would be nice to do.

erp12 commented 7 years ago

Sure thing. That is the same thing as an R-markdown, right?

Just an FYI, I originally was working in an r-markdown document but asking r studio to draw the charts below each code block in the document did not work well with the larger images. We are going to scale down the images anyway, right?

NicMcPhee commented 7 years ago

Yup, KnitR is the same as R-markdown (and R-Markdown is probably the "better" name, actually).

For the paper we'll need PDFs of all the graphs, and we'll need to set their sizes to at least roughly match the desired size in the paper so the text scales appropriately. (If you make a really big plot, and then scale it down a lot in LaTeX, the text all becomes super tiny.)

erp12 commented 7 years ago

Done with 7248f24906a5bdc45c437c9f07e6d1eae462c202.

@NicMcPhee Did you have a specific size to force the plots to be? Then I can adjust the font sizes, etc.