-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plotting issue #8
Comments
Chris, in plot density, group is a positional keyword, shouldn't it be:
|
Thanks Rob. It looks like what you suggested creates a different graph. Here is the desired result for one variable using:
This will create a density for each combination of values for factors a and b, resulting in four density lines displayed in two subplots. |
Here is what happens in the simplest case:
Error:
|
I found a workaround for the limitations of the macro. I'll be pushing the improved plotting functionality soon. |
The plotting functionality is now available on master. The Gaussian example shows how it will work. Note that I did not rerun the benchmarks. So the file names will differ. Let me know if you want me to rerun them. Here is what it looks like:
The functions |
Very nice! I’ll rerun the Gaussian example on my other machine, and LBA. |
…23-23-07-02-616-1160984258 CompatHelper: bump compat for "StatsPlots" to "0.14"
Hi Rob-
I am implementing a
plotdensity
andplotsummary
function to automate the generation of the plots we currently use (see the plotting branch). However, I experiencing a technical problem when I pass a variable to the group keyword of density. Unfortunately, I haven't found any help on Discourse yet. I'm not sure if you might have a solution. Here is the plot density function and helper functions:Here is an example that produces the problem:
Everything works if I replace
group = cols(group)
with hardcoded valuesgroup=(:a,:b)
. So I can say confidentlygroup = cols(group)
is the only problem. Any ideas?The text was updated successfully, but these errors were encountered: