I am trying to remove the y-axis on two ggplots that are in a gtable with a third ggplot. I would like to show the y-axis for the leftmost graph in the gtable and remove the y-axis completely from the subsequent graphs; however, I would like the…
I'm currently trying to shift the axes positions in a Matlab figure. I'd like to achieve something similar to this (which was done in gnuplot):
I don't have any idea whether this is possible at all, or where I might find an answer, so any help will…
I'm trying to make a custom chart starting with the Cumulative Line Chart http://nvd3.org/ghpages/cumulativeLine.html
I'd like to display data with origin being top left so I swapped the y range, and now the x axis is on top and I need to translate…
I have a surface density map in matplotlib for which I want the scale of the colorbar to be logarithmic.
Ideally using the LogNorm function should do the trick, but there are negative and null values, which gives an error when the values are turned…
any suggestions for drawing axes with unequal spacing between the values. For instance I am currently drawing axes using:
yScale = d3.scale.linear().domain([0, 60000]).range([height, 0])
I need more spacing between 0 and 5000 than distributing all…
I am trying to plot a map of the Arctic in Polar stereographic projection. To do this I have imported an already projected shapefile into R using the rGDAL package:
ds <- readOGR(dsn = path, layer = "10m_coastline_ps")
This creates a…
I have a (3,4) subplot each showing scatterplots. The ranges of the scatterplots vary so some of my plots have axes x(0-30) and y(0-8), but some have x(18-22) and y(4-7). I have set my xlim to [0 30], and ylim to [0 8] but that sets my axes to never…
Beginner's question here:
Given the following XML excerpt:
abc
When I'm at the child3 context, I can use preceding-sibling::* to get the child2 node. All…
My x and y axis normally range from 0 to 300 and 0 to 60, respectively.
I want to show only values from 5 <= x <= 300, however, so I do
ax.set_xlim(left=5)
after which the graph does indeed start at 5, but there is nothing to indicate that. My…
I am making a comet plot, which works fine in plotting the actual curve as "time" evolves. My problem is that the axes are always adjusted so that the plot completely fills the figure. In this case the plot is an ellipse, and I'd like the y- and…
I have the following plot
xleft<-c(1,2,3)
xright<-c(2,3,4)
ybottom<-c(1,2,3)
ytop<-c(2,3,4)
plot(c(1,4),c(1,4),type="n",main="title",xlab="site.x",ylab="ylab")
rect(xleft,ybottom,xright,ytop,col=c("blue","red","green"))
I would like to add rather…
I am looking for a means to add an additional axis pair, both tilted and origin displaced. They should be added to axes already used for displaying an image.
The result should look somehow close to
y x+y
|\ /
9 | + -2 + 18
…
Take the follow code for example:
Hsp=subplot(1,2,1);
image(rand(5,5));
Hc=colorbar;
subplot(1,2,2);
image(rand(5,6));
colorbar;
My question is how to obtain Hc, given only Hsp.
As is known, the type of a colorbar is axes. So I tried to search…
I have an image full of objects of the shape of an ellipse. I need to design an ellipse for each object that is the best fit for the object itself. I have found a code that helps me to plot the ellipses on the image here.
I have changed the final…