data-visualization

3D visualization software for scientific molecular dynamics model

半城伤御伤魂 提交于 2019-12-13 09:01:42
问题 I am writing a program that will visualize a molecular dynamics experiment. The input will be a file with the location of each atom at each timestep. There will be ~100k atoms and ~500 timesteps. Atoms will be represented as spheres. Connections between atoms will be represented by cylinders. Here are some requirements for the program (in order of importance): ability to move, rotate, and zoom to change the image ability to make a movie from the positions at various timesteps ability to

Adding legend to a radarchart in Python

别等时光非礼了梦想. 提交于 2019-12-13 07:21:29
问题 I want to create a radarchart with legends for every plot that is created but until now it has been impossible. Then, you can see the code used to create the plot (thanks to another user that developed it). import numpy as np import matplotlib.pyplot as plt import seaborn as sns # improves plot aesthetics import pandas as pd def _invert(x, limits): """inverts a value x on a scale from limits[0] to limits[1]""" return limits[1] - (x - limits[0]) def _scale_data(data, ranges): """scales data[1:

Creating a force directional visualisation of how pages link to each other in a mediawki installation

删除回忆录丶 提交于 2019-12-13 06:26:19
问题 I have a MediaWiki installation, and I would like to create a force-directional style visualisation of which pages connect to each other. The MediaWiki installation is not very big, under about 100 pages. Any ideas on where to start? I would, ideally, not like to use JQuery. I did a Google search, but I do not really have a clue of what to do first. If anyone could point me in the right direction, then it is much appreciated. 回答1: Like this one ? D3.js is a great library to work with 来源:

Bootstrap / KendoUI / LocalHost Works Fine, But Not Domain Name

耗尽温柔 提交于 2019-12-13 05:59:00
问题 I have a web application using bootstrap and Kendo UI togethor on the same page. THe page looks perfect most of the time, but I noticed a problem after deploying to a Test Web Server. Can anyone please help me figure out why the formatting is off for IE 9 when using a domain name, and not localhost? For (http://localhost) (Running from VS 2012) Chrome: Works; FireFox: Works; IE 9: Works For (http://webtrgws01:1200/) Chrome: Works; FireFox: Works; IE 9: Not Working For (http://localhost:1200/)

How to display and manipulate visual objects in a web app?

家住魔仙堡 提交于 2019-12-13 04:58:39
问题 Using only HTML, CSS, JavaScript, and a relational database with server-side scripting language (e.g. PHP and MySQL), how can you retrieve and display data objects AND manipulate them visually? By manipulate I mean creating new objects, retrieving stored objects, visualising their properties (e.g. making a circle diamater larger or smaller), and calling methods and setting field values based on dragging and dropping (changing size, shape and position). An example of use would be an online

Ignore #'¡DIV/0! Values in both axes of a bar chart - Excel

妖精的绣舞 提交于 2019-12-13 04:46:07
问题 I have this bar chart in excel : As you see, if there is #'¡DIV/0! , the values are 0 . What I really want is that the bar chart just shows the numeric values. In this case. just the first three values would have to be visualized. I tried the formula IF.ERROR(FORMULA,"") but the result was the same, So, How Can I do that? 回答1: You need dynamic ranges for the chart, or filter the data source to hide the rows with the error. Excel charts will not include data that is hidden with a filter. To

Creating ICICLE Chart using Highcharts Library

佐手、 提交于 2019-12-13 04:35:41
问题 I want to develop a ICICLE Chart as provided by d3 library using Highcharts Library. To the extent I googled, I couldn't find any samples of ICICLE Chart kind of Visualization Using Highcharts. If this is really possible, please help me with how to create it. Thanks. 来源: https://stackoverflow.com/questions/31358768/creating-icicle-chart-using-highcharts-library

Pandas Series not plotting to timeseries chart

风格不统一 提交于 2019-12-13 04:14:08
问题 I have a data set of house prices - House Price Data. When I use a subset of the data in a Numpy array, I can plot it in this nice timeseries chart: However, when I use the same data in a Panda Series, the chart goes all lumpy like this: How can I create a smooth time series line graph (like the first image) using a Panda Series? Here is what I am doing to get the nice looking time series chart (using Numpy array)(after importing numpy as np, pandas as pd and matplotlib.pyplot as plt): data =

How to arrange multiple Hexbin plots together in r?

断了今生、忘了曾经 提交于 2019-12-13 03:02:21
问题 I have four separate Hexbin Plots that I would like to view together in one frame. I tired using par(mfrow...) to no avail. par(mfrow=c(2,2)) hexbinplot(Sales ~ employee...) hexbinplot(Sales ~ Quality...) hexbinplot(Sales ~ Weather...) hexbinplot(Sales ~ Year...) I suspect the answer may be in panel.hexbinplot but I have been unable to find any resources that talk about linking multiple distinct graphs. 来源: https://stackoverflow.com/questions/56808810/how-to-arrange-multiple-hexbin-plots

How to increase the cell size for annotation in Seaborn heatmap

亡梦爱人 提交于 2019-12-13 02:18:59
问题 I'd like to plot 66x66 confusion matrix with min=0 and max=15075 (shared here). Since I'd like to annotate the cells, I am using annot=True . But I can't seem to fit the values in the cell even after trying approaches suggested in other stack overflow posts like this, this and this. This is my current code: from sklearn.metrics import confusion_matrix conf_mat = confusion_matrix(y_test, y_pred) # please load the data from the pastebin [link above][1] # get the tick label font size fontsize_pt