data-visualization

Spotfire 6.0 - Limit Data by Selection from Another Table

狂风中的少年 提交于 2019-12-08 19:15:39
I have two data tables A & B in a visualization. They can be joined by a common column ID. Is it possible that the data chart from table B be limited by selection from table A? Best Regards, Jonathan you can create a relationship based on that ID: click Edit...Data Table Properties click the Relations tab click New to create a new relation configure the relation by selecting the left and right tables, the column containing the ID on both table, and optionally a method to apply to values in that column click OK a few times to accept all changes ...and then configure the Filtering panel to show

Make DataVisualization Chart object zoom and scrollable by dragging the scroll bar

喜欢而已 提交于 2019-12-08 17:36:33
问题 I'm using a System.Windows.Forms.DataVisualization.Charting.Chart control, and have the ChartArea's AxisX and Y both set Zoomable to true. When chart is zoomed in, I see the scrollbar, but cannot drag it. Is it possible to drag the scrollbar, and have the chart display move as I am dragging the scrollbar button? I want to make it intuitive and interactive for the user. Thanks! 回答1: In order to zoom in and out of the chart i am using MouseWheel event. Solution which i will show below is far

Visualising big set of points with third feature as a color - a way to improve a speed

痴心易碎 提交于 2019-12-08 17:04:02
问题 I have a pretty big dataset (around 5e5 rows) of (x, y) coordinates with additional feature z . It's something like this: x <- rnorm(1e6, 0, 5) y <- rnorm(1e6, 0, 10) dist <- sqrt(x^2 + y^2) z <- exp(-(dist / 8)^2) I want to plot them with a z feature used as a color aesthetic. But simple geom_point takes a while with such a big dataset: data.frame(x, y, z) %>% ggplot() + geom_point(aes(x, y, color = z)) So I think I need a way to aggregate points in some way. One approach would be to divide

Change margin around plot area and title in WPF Toolkit chart

你。 提交于 2019-12-08 16:01:16
问题 I am using the Chart control of WPF Toolkit February 2010 release. The chart takes up lots of space relative to the plot area. How do I control the margin around the plot area and title of the chart. This way, I can arrange the 10 charts I need in a grid without having to use so much space on the screen. Thanks, sprite. 回答1: I found an answer to a similar question in the WPF Toolkit discussion boards and thought I'd share the knowledge. The only solution currently available is to style the

geom_path() refuses to cross over the 0/360 line in coord_polar()

╄→гoц情女王★ 提交于 2019-12-08 15:51:51
问题 I'm trying to plot the angle of an object (let's say it's a weather vane) over time. I want to plot it on a polar coordinate system and have the time points be connected by a path, showing how the angle evolves over time. I simply have a dataframe, with one column being the angle in degrees (numeric) and then the time step when the angle was recorded (integer). But when I run the below code: ggplot(df, aes(x = angle.from.ref, y = time.step)) + coord_polar() + geom_path() + geom_point() +

Create a WORD CLOUD in Google Data Studio

痞子三分冷 提交于 2019-12-08 14:10:28
问题 I'm trying to create a word cloud in Google data studio. In order to do that as quickly as I can I wanted to use the community visualization. (https://github.com/pcperini/GDS-Word-Cloud , https://marketlytics.com/blog/custom-visualizations-data-studio ). Unfortunately anytime I try to insert the manifest path (gs://gds-word-cloud-prod) in the community visualization archive, it doesn't find anything. Do you have any suggestions? Am I doing something wrong? Are these visualization too old?

How to Place a border around points for the scatter plot with gradient color and shape in R?

為{幸葍}努か 提交于 2019-12-08 11:33:49
问题 My goal is to place the border around points in scatter plot WHICH has the gradient color and gradient shape based on the value (as you can see in following script). ggplot(filname, aes(Va1, Var2, col= PR, size=PR)) + geom_point() + labs(list(title = "Title", y = "Var2", x = "Var1")) + xlim(0, 150) + scale_color_gradientn(colours = rainbow(7)) + scale_x_continuous(breaks=seq(0, 150, 12)) ** PR is the third Var in my data. The generated plot I found the following questions here: Question 1

Streamlines for irregular spaced wind data in R?

北战南征 提交于 2019-12-08 09:52:28
问题 I have got wind data for some stations. The data includes station latitude, longitude, wind speed and wind direction for each station in a csv file. This data is not regularly spaced data. I have a requirement to draw streamlines for this data in R language. I tried couple of packages rasterVis for STREAMPLOT() , TeachingDemos for My.Symbols by searching through internet, however I was not successful. Here is an example plot I was talking about. http://wx.gmu.edu/dev/clim301/850stream.png

Spotfire visualization - Over in a running total gets blank values?

不想你离开。 提交于 2019-12-08 09:16:35
问题 I have built a bar chart visualization with Spotfire that includes the use of the Over function to give a running total. Months are on the X axis and counts are on the Y axis. My data set contains months where there were no values. When I graph that there is no bar although a running total should still contain a value although zero was added for that month. How do I get a month with no value to still show a bar for that month? 回答1: Yes, You can try Count() OVER (AllPrevious([Axis.X])), this

Sharing a Legend between two combined ggplots

筅森魡賤 提交于 2019-12-08 08:58:27
This question was migrated from Cross Validated because it can be answered on Stack Overflow. Migrated 5 years ago . I'm currently trying to present two time series using ggplot2, both with very different scales, using two ggplots. I've combined the two separate ggplots, one on top of the other, using grid.arrange . In order to aid visualization, I'd like to make each line a different colour, and have this legend below the combined plot. As this may be relevant, I'm currently working in the confines of creating a shiny section of an R markdown document. Hence the renderPlot wrapper around grid