Questions tagged [axes]

Axes - plural of axis

Axes is plural of axis used in Cartesian coordinate system.

1002 questions
2
votes
1 answer

Ggplot2 facets: put y-axis of the right hand side panel on the right side

I'm trying to make a facetted plot with two panels - left and right. The variable on the x-axis is continuous, and the variable on the y-axis is discrete, with relatively long labels. I would like to put the y-axis of the right hand side plot on the…
Adam B.
  • 788
  • 5
  • 14
2
votes
1 answer

Print value of an array using three.js TextGeomtery

How can I print the values of an array using three.js textGeometry. Trying the following code but no output. `for(let i=0;i<=4;i++) { let arr = [1,2,3,4,5,6,7,8]; let char = arr[i]; let loader = new…
2
votes
1 answer

Matplotlib axis for FacetGrid

Why https://seaborn.pydata.org/generated/seaborn.FacetGrid.html does not have ax argument that accepts matplotlib axis like other graphs e.g., https://seaborn.pydata.org/generated/seaborn.distplot.html? As I need to set the matplotlib axis for…
william007
  • 17,375
  • 25
  • 118
  • 194
2
votes
1 answer

Gnuplot: x1y1 plot and x2y1 plot not sharing same xtics

I am trying to do a multiplot. Following are the 4 files that I used with File1.csv ,col1,col2,col3,col4,col5,col6 10,-39, 0.7, 0, 0,99.3, 0 14,-42, 0.0, 0, 0, 100, 0 42,-64, 0, 0, 0, 100, 0 46,-67, 2.5, 0, …
Active Hub
  • 51
  • 3
2
votes
0 answers

axes.hlines changes xlim despite use of axes coordinates

I am trying to add a small line outside of my axis range which I want to use as a highly customized legend at a later stage. However, using axes.hlines changes the xlim of my axis, even though I specify transform = axes.transAxes. The xlim appears…
Olmo
  • 325
  • 4
  • 13
2
votes
1 answer

ggplot2 add minor tick marks outside plotting area without turning clip off

I'm looking for a way to add minor tick marks to ggplots without using coord_cartesian(clip = "off"). Or a way to reproducible apply clipping to the x axis but not the y axis, or vice versa. So far I have been using the annotation_ticks() function…
csdaw
  • 63
  • 6
2
votes
1 answer

How can I add a subscript to my axis label when using persp3D function in R?

I am trying to define my z-axis label as R0 in plot3D, below are my code, I am using expression for my zlab, but I get the result as in the image attached here. library(plot3D) lambda <- 1/12 sigma <- 0.4 gamma <- 0.4 beta <- 0.00007 c <-0.0034 m…
Ella Taib
  • 63
  • 4
2
votes
1 answer

How to set theta limit in -90 to 90 range in MATLAB?

How to set theta range from 0 to 90 and 270 to 360 in a single plot. thetalim([theta_lower,theta_upper])
ankit agrawal
  • 301
  • 1
  • 14
2
votes
1 answer

How can Matplotlib axes be scaled hyperbolically?

I have a plot a bit like this: The differences between the two lines (red and blue) are most important in my actual data (a ROC curve) at say the grid cell 0.2
BlandCorporation
  • 1,324
  • 1
  • 15
  • 33
2
votes
0 answers

MATLAB: Vertically align bottom edge of subplots/axes

The following code fig = figure; alist = [-0.1 1 4]; cp = 0; for counter = 1:3 a = alist(counter); fp = [(1+sqrt(1+4*a))/(-2*a) (1-sqrt(1+4*a))/(-2*a)]; fpmin = (abs(fp(1)-cp) < abs(fp(2)-cp))*fp(1) + (abs(fp(1)-cp) >=…
Jason D.
  • 31
  • 2
2
votes
0 answers

Matplotlib secondary_xaxis can't be formatted

I'm trying to get an "inverse" second x-axis to a x-axis in log-scale. secondary_xaxis works fine but I can't format the ticks as usually. Is this a bug or am I missing something? Here's what I do: import matplotlib.pyplot as plt import numpy as…
2
votes
1 answer

How to remove numerical x-ticks under custom labels in matplotlib's boxplot?

I want to plot multiple boxplots (using matplotlib in python3) into one figure and label them accordingly along the x axis. I have tried multiple methods to set custom x-ticks, but the old, numerical ticks always show through. The following two code…
Markus
  • 111
  • 2
  • 12
2
votes
5 answers

R: mirror y-axis from a plot

I have this problem. I got a heatmap, (but i suppose this applies to every plot) but I need to mirror my y-axis. I got here some example code: library(gstat) x <- seq(1,50,length=50) y <- seq(1,50,length=50) z <- rnorm(1000) df <-…
Sir Ksilem
  • 1,195
  • 2
  • 12
  • 27
2
votes
2 answers

ggplot2 annotation_ticks on the outside of the plot region

I try to find an elegant way to insert minor ticks on plots created with ggplot2. I found a function which does almost exactly what I want: https://rdrr.io/github/hrbrmstr/ggalt/src/R/annotation_ticks.r There is only one drawback: the ticks, like in…
yenats
  • 531
  • 1
  • 3
  • 16
2
votes
2 answers

XPATH Axes - Issues

XML structure: Sample 1
Sample Title 1
dirin
  • 351
  • 1
  • 3
  • 3