Skip to content
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

update to rad_plot #12

Merged
merged 1 commit into from
Sep 25, 2019
Merged

update to rad_plot #12

merged 1 commit into from
Sep 25, 2019

Conversation

alexbaras
Copy link
Collaborator

synthetic data example to plot

last line shows how to call

`d = np.random.uniform(-1, 1, [10000, 2])
i = np.random.randint(0, 20, 10000)
s = np.arange(20)
s_d = np.random.uniform(0, 1, int(20 * (20 - 1) / 2))
l = np.concatenate([np.repeat('A', 10), np.repeat('B', 10)])
l_dict = {'A': 'blue', 'B': 'red'}

rad_plot(d, s_d, s, l, i, l_dict, self=None, plot_type='2dhist', vmax=0.001, dg_radius=0.2, axes_radius=0.3, gridsize=50, n_pad=2, gaussian_sigma=2)`

@alexbaras
Copy link
Collaborator Author

alexbaras commented Sep 25, 2019

example plot for completely random data
image

@sidhomj sidhomj merged commit a56a6eb into master Sep 25, 2019
@alexbaras alexbaras deleted the rad_plot-patch branch September 25, 2019 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants