I'd like to make this type of plot in R.
There's more detail on the SAS macros to produce this example here: http://www.pharmasug.org/proceedings/2015/DV/PharmaSUG-2015-DV07.pdf
Does anyone have any thoughts on how I should go about doing this in R?
NOTE: I know how to make standard sankey diagrams with the D3 or google libraries. This question is specifically about the combination of bar graph and sankey diagram that the SAS macros produce.
Use the library(flipPlots), using the SankeyDiagram() function.
Related
I am new at graphing tools for big data analysis. Though the following is not from big data, I was wondering what kind of tools are used to create this kind of complex graph:
http://www.bitmover.com/lmbench/mem_lat3.pdf
Associated with the paper http://www.bitmover.com/lmbench/lmbench-usenix.pdf
The article is made in LaTeX (particulary groff project), according to metadata in the chart's PDF, it's saved to PDF from Photoshop (so this lead ends here). Anyway, the TikZ or Asymptote (see gallery) are capable of drawing charts like this..
Looks a little bit like gnuplot, but it can be perfectly done by matplotlib. An example can be found at this page.
Sorry, I never noticed this question before. Larry borrowed that graphic from me and it was created with Excel.
I was considering adding code to lmbench to create that plot automatically and Thorsten's suggestion of mplot3d sounds like a good place to start.
Currently i work a lot with different type of scheduling-algorithms and i'm always in need of something easy and nice to output the created example-schedules for presentations.
Before coding it my self im wondering if such a tool is already developed?
It should, as a minimum, take as input a CPU (Y-coordinate) and a start and duration time (X-coordinate) and preferbly produce HTML, Latex, PDF or similar. (A generic Gantt chart drawer should be sufficient)
It can either be a standalone tool that can be called with a task-set consisting of the three parameters - or able to interface with either C/C++ or Java.
Thanks!
I solved it by using JFreeChart. Thanks for the help
Have a look at GraphViz (graphviz.org) - we've used it with success for showing relationships between things, and there's PERL example of using it for GANTT charts (though I haven't used that myself) here: http://www.perlmonks.org/?node_id=68941
I have some data that has X and Y values and i would like to print them in a graph. I don't need anything advanced because the data is very simple but I would like something that looks good and has nice design (which excel hasn't).
Thanks for any help
MathGL (cross-platform GPL plotting library) is rather simple to use and produce nice plots -- see samples.
My partner and I are planning on implementing a new graph drawing layout algorithm of our design for use with Graphviz. We are new to Graphviz and though we've explored the source code, we're still unsure how to go about adding new layout functionality. Can you help with any pointers? I am looking for any of the following:
Overview of how other layouts are implemented. What files are most important?
What existing code we can draw upon? For instance, we would like to use an existing force-directed algorithm as part of our own algorithm, and we need to specify the shape of the edges.
Links to other projects that have implemented their own layout algorithm for use with Graphviz. Our searches so far haven't been fruitful, unfortunately.
Thank you very much!
-Kate
Thanks to Emden over on the Graphviz discussion board, we've found that there is a document called addingLayout.txt in the docs folder of the source code that is a guide for what we need to do. Emden elaborates further, with details about force-directed algorithms and how edges are described in Graphviz, on this thread: http://www.graphviz.org/content/how-implement-new-layout-style-graphviz --> fixed link at https://graphviz.gitlab.io/_pages/doc/addingLayout.txt
Does anyone know how to draw queue network graphs that can be included within LaTeX documents?
See, e.g., the following examples at TeXample.net for the TikZ and PGF packages:
Graphs
Automata and Petri nets
Use METAPOST for your problem.
There are many ways to include drawings/graphs/images in your latex document.
The easiest way is just to draw the graph in your drawing program of choice, then export the graph to jpg or png (or eps if you're not using PDFlatex), then use the graphicx package ( \usepackage{graphicx} in your preamble), and include the graph in your document by using the code
\includegraphics[width=4in]{filename.jpg}
As indicated in other answers, there are several drawing languages that can be used with tex: metapost, tikz, and PGF are are powerful. There is also asymptote, another code based drawing language.
You could also use graphviz, which is excellent if your graph is large and you need graph something like network traffic. And dot2tex will turn your graphviz file into something latex can handle.