Is it possible to make a plot in matlab that does not actually take the logs of the values? I'm plotting wide ranges of values and when I try to make a log plot of them, those below 1 become negative. I would just like it to plot the values on a log scale without taking their logs.
...
I've written some basic graphing software in Clojure/Java using drawLine() on the graphics context of a modified JPanel. The plotting itself is working nicely, but I've come to an impasse while trying to converting a clicked pixel to the nearest data point.
I have a simple bijection between the list of all pixels that mark end points ...
How do you plot legends for functions without using the PlotLegends package?
...
Hi there,
I'd like to combine interactive plotting in Matplotlib and the Command line interface Cmd in python. How can I do this?
Can I use threading? I tried the following:
from cmd import Cmd
import matplotlib.pylab as plt
from threading import Thread
class MyCmd(Cmd):
def __init__(self):
Cmd.__init__(self)
self...
I frequently use kernel density plots to illustrate distributions. These are easy and fast to create in R like so:
set.seed(1)
draws <- rnorm(100)^2
dens <- density(draws)
plot(dens)
#or in one line like this: plot(density(rnorm(100)^2))
Which gives me this nice little PDF:
I'd like to shade the area under the PDF from the 75th to ...
I'd like to plot data x & y with errorbars, ebar, and its fit, yfitted, on a semilog plot. This doesn't seem to work:
figure;
hold on;
errorbar(x,y,ebar);
semilogy(x,yfitted);
Instead of semilog plot I get a linear plot. What should I be doing differently?
...
i need to log some data from multiple processes concurrently (on Windows), to be plotted and whatnot later. rrdtool is great, but i don't have data at regular intervals. what else is there?
edit:
basically, i don't have "time-series data", so the rrdtool tag may be a red herring.
the data i want to log is tuples (url, requested at, ...
I am in my way of finishing the graphs for a paper and decided (after a discussion on stats.stackoverflow), in order to transmit as much information as possible, to create the following graph that present both in the foreground the means and in the background the raw data:
However, one problem remains and that is overplotting. For exam...
Dear all,
I have a 3D plot like this:
In the Y-axis of the plot, each group of three bars refer to the same parameters: x1, x2, x3. I would like to have a spacing in the y-axis for each group of three bars, so that it becomes more clear that those bars are referring to the same parameters. At the same time, I would like to put a labe...
There are several threads for data plotting libs for python 2.x. What about python 3? Matplotlib's website says "not python 3."
...
I posted something similar yesterday, but got nothing. I spent a few hours today problem-solving, but didn't progress any.
I'm using Processing (the language) and trying to implement a method that draws a line between two points. (I don't want to use the library's line() method.)
My lineCreate method works great for positive slopes, bu...
Most MATLAB plotting commands allow you to specify which axes to act on, for instance
plot (x,y)
plots in the current axes, but
plot(Ax, x, y)
will plot in the axes Ax.
Similarly, you can label the x- or y- axis of a non-active axes
xlabel(Ax, 'this label goes on the x-axis of Ax whether or not Ax == gca')
But the text comman...
I would like to make a scatter plot using R base graphics, though I can use ggplot if it is necesary. I have a data frame containing the x and y coordinates, and also two other covariates, call them a and b. I would like the size of each point to vary with a (high values of a -> larger points) and the brightness/solidity of each point ...
It also must be redistributable.
...
I need to draw many different tile plots, which have squares and dots on top of the tiles according to
data. Unfortunately I cannot include illustrating picture, but basically the plot consist of tiles which either have squares and dots on them or not.
Each of those figures has different number of tiles on x-direction and y-direction....
Hi Everyone,
I have a datafile that looks like this:
1 1.0 0
2 1.5 0
3 0.0 1
4 1.2 2
5 1.0 1
6 1.1 1
where the first column is my X value, the second column is my Y value, and the third column is a color. I'd like for each line segment to be colored according to the third column. So the first two line segments would be "color 1", th...
Hi,
My program produces small figures during the command cycle. Is there a way to just save these figures to then combine them in one figure later?
So then how do you load them into a single figure later?
Best,
...