I'm creating a set of axes in a figure and assigning a callback for its 'ButtonDownFcn' property like so:
HRaxes = axes('Parent', Figure, 'Position', [.05 .60 .9 .35],...
'XLimMode', 'manual', 'ButtonDownFcn', @HR_ButtonDown);
Where…
Here is an example ggplot that I would like to build. In my data I have a problem that I have lots of values in small stretch of the histogram. Thus, I would like to make the x axis disproportionately stretched (here between the values of…
How can I scale the colorbar axis of a false color image?
I read this post,and copied the code but it seems not to work correctly:
MATLAB Colorbar - Same colors, scaled values
Please see the two images below. In the first (without the scaling) the…
Consider the following example:
[ X, Y, Z ] = peaks( 30 );
figure( 100 );
surfc( X, Y, Z );
zlabel( 'Absolute Values' );
colormap jet;
c = colorbar( 'Location', 'EastOutside' );
ylabel( c, 'Relative Values' );
The output looks as follows:
How can…
I want to draw a chart like image below with oxyplot, the problem is i don't know how to draw axis (with values) at value 50.
Code :
var model = new PlotModel { Title = "EllipseAnnotations" };
model.Axes.Add( new LinearAxis {
…
Here's my example code. I'd like to produce several variations of the same plot, so enforcing identical y-limits is important for visual comparison.
library(brms)
# data
sgf <- c(rep("A",10),rep("B",10))
Vs <- c(221, 284, 211, 232, 254,
…
ggplot2 now allows for adding a secondary y-axis if it is a one-to-one transformation of the primary axis.
For my graph, I would like to plot the original units on the left y-axis and z-scores on the right y-axis, but I am having trouble working out…
I want to plot a cdf of data on a lognormal probability graph, like shown below:
I want the axes scales on my plot to look like that, only flipped (with probability on the x-axis). Note that the y-axis above is NOT simply a logarithmic scale. Also…
I'm trying to understand semilogy function which is normally used for plotting data in MATLAB.
As the definition says in MATLAB help section:
semilogy(Y) creates a plot using a base 10 logarithmic scale for the y-axis and a linear scale for the…
I have a python matplotlib figure with four subplots. If I plot the individual axes individually, they fit fine in the canvas. But for some reason when they are in the subplots they are shifted pretty far to the right, and it cuts off some of…
I am trying to set something up in D3 where I have an axis for some collection of datapoints. In the case of outliers for the datapoints, however, I'd like to put those outliers in a bucket on an axis. Is there a way that I could specify an "outlier…
I am creating a multi-panel figure in MATLAB (with multiple axes of different size). I would like all tick marks to have the same absolute size across all subplots.
According to the MATLAB user guide, tick length is normalized with respect to the…
I have three traces, one of which I have in one subplot, and two of which are in another. I would like to have a distinct y-axis each of the traces in the subplot with 2 traces.
For example, I have
fig = plotly.tools.make_subplots(rows=2, cols=1,…