Standard deviation graph in jqplot - jqplot

Is there a way to plot graphs with +-standard deviation about the mean using the jqplot graphs? I know there are candlestick graphs in jqplot but they do not link each candlestick with each other. What I am looking for is like a line graph with for each point, +- standard deviation is marked on it. Consider this graph for example
http://www.csupomona.edu/~jcclark/classes/old/bio542l/graphics/g-line.gif

I do not believe there is built-in support for this in jqplot. Your choices are three:
1.) Use what is built in: the the banded line/confidence intervals.
2.) Hack it yourself. After you draw your plot, add additional vertical series for each hi/low standard deviation. This is the option I would use.
3.) Follow one of the posts here and modify the candle stick plugin (ohlc plugin) to provide the functionality.

Related

Area chart with multicolour gradient

I'd like to build a chart similar to:
Elevation over distance
This chart shows 3 things: elevation (y) distance (x) and colour represents the gradient change. How can I replicate this using D3.js?
You can check sample in the samples and pick something suitable for you depending on your requirement. But I'm suggesting something like this or this . First one does not give you color changing capability with it. You may need to read the documentation and find out. You can use the second one after reducing the width of bar to be very small. You may need to convert this to cater your data input method. I'm strongly suggesting you to go through the samples. As a help I'm posting few more samples you can customize.
Area Gradient fill
Applying a colour gradient to an area fill in d3.js

ClojureScript NVD3 full-height shaded intervals

My graphs currently indicate "no data" by calculating the holes in my datasets, then generating a new fake dataset that ranges from nil to max(all-y-values), thus making it look like a full-height background. I make it an "area" dataset and apply an SVG pattern to make it look like this:
The problem arises when the y-axis scale is greater than the data, in other words when max(all-y-values) doesn't coincide with the top of the graph.
I need to make these shaded background intervals always the full height of the graph, and I'm willing to rethink the whole process of adding them.
My recent attempts have been trying to follow the "filling an area above the line" example described in D3 Tips and Tricks as well as the NVD3 documentation and various other resources, but I haven't seen anything working.
This is the "filling an area above the line" example from that link:
Any solution must either use ClojureScript and Om or at least be directly compatible with them, since I already have a proof of concept in the above links and I am looking for more.

LabView XY Graph with large number of traces, matching legend and plot data?

I have an XY graph with a large number of traces. Is there a way to have the user easily determine which legend trace belongs with the plot trace? For example, perhaps they could click on the plot's trace and see the legend text? See the attached image for an example graph. As you can see from the attached image, the automatic coloring scheme quickly cycles through all the easily discernible options, making matching the legend and plot data difficult.
The graph should have a method which returns the nearest plot to a given point. You can use either the Mouse Move or the Mouse Down events for the graph to get these coords and wire them into the method. You can then use the ActivePlot property to select that plot and then use the plot properties to get the info you want and present it using indicators. I would also consider using this to make all the plots except the one you're looking the same color. For that, you will need to cycle through all of them using the ActivePlot property.

Layered graphs in d3.js

I am currently using Graphviz for visualizing control flow graphs. Basically, a (reducible) control flow graph is a DAG plus some edges which point back to nodes in the previous layers. The latter edges should not affect node placement.
Currently, dot draws the graphs pretty neatly, but it lacks an easy way to add interactivity (e.g. folding, scrolling, zooming), which is priceless for analysis of very large graphs. Therefore, I selected d3.js as the most mature and feature-rich graphing library.
I'm pretty sure that there is an easy way to draw layered graphs (as does dot) in d3.js, but I don't seem to recognize it. How do I do that? If this helps, I already perform dominator analysis on my CFG.
The Dagre library for directed graph drawing is rendering-agnostic, but integrates well with d3.js: https://github.com/cpettitt/dagre
Here's a demo rendered using D3: http://cpettitt.github.io/project/dagre-d3/latest/demo/interactive-demo.html

Difference between chart, plot and graph

I'm thinking of what would be the right terms to use in the UI of my new program, when referring to graphical data representations - i.e., whether to call them "charts", "plots" or "graphs". I was wondering how these terms are different, and when is it appropriate to use each of them?
Chart: Bar, line, or pie charts.
(source: jpowered.com)
(source: jpowered.com)
Plot: X-Y plot or blueprints.
(source: grass.itc.it)
Graph: Nodes connected by edges.
(source: graphviz.org)
I feel your pain. Google searching on these words lately for software libraries was quite difficult due to the overlap in their usage.
Elementary school kids are taught that "graphs" are two dimensional grids used for "graphically" displaying math functions. Yet "graph theory" is about networks, not functions; see graphviz.
Business graphics calls a representation using symbols a "chart," such as a pie chart or bar chart, yet a stripchart is a type of plot.

Resources