Questions tagged [axes]

Axes - plural of axis

Axes is plural of axis used in Cartesian coordinate system.

1002 questions
4
votes
1 answer

x axes titles on subplots Plotly Python

I am trying to add the same titles on the x-axes and y-axes to four gantt charts that are displayed as subplots. I found online figs.update_layout() however, this only presents the title on the first chart, not all. I have found a few answers with R…
Elizabeth
  • 43
  • 1
  • 3
4
votes
2 answers

How to partially apply linkaxes?

Say I have four plots h1-h4 and want to link all their x-axes. For that I can use linkaxes([h1 h2 h3 h4], 'x'). However, in addition I want to link h1 and h3's y-axes (and also h2's to h4's). Now when I use linkaxes([h1 h3], 'y') the x-axes linking…
Tobias Kienzler
  • 25,759
  • 22
  • 127
  • 221
4
votes
2 answers

Base R Bar Plot x-axis skewing

I'm writing a function to plot (what is termed in Excel, for example) "combo-charts" of a specific variety: namely bar + line graphs. Here is my code: plot_combo_chart <- function(df,bar_colour = "green",line_colour = "red",y_ticks = 5){ x_name…
Rookatu
  • 1,487
  • 3
  • 21
  • 50
4
votes
1 answer

Multiple independent lines in the same 3D Axes

I would like to draw multiple independent lines in a 3D plot in Python. It looks like: . I am new at Python. Would you help me?
huangteng1220
  • 41
  • 1
  • 2
4
votes
2 answers

How to remove xticks and yticks from all axes?

I have three axes in figure and I want to remove xtick and ytick from all of them. I wrote below code but it works just on current axes, not all of them: set(gca,'xtick',[],'ytick',[]); How to remove xticks and yticks from all axes?
Masoud Zayyani
  • 157
  • 1
  • 2
  • 12
4
votes
2 answers

Healpy plotting: How do i make a figure with subplots using the healpy.mollview projection?

I've just recently started trying to use healpy and i can't figure out how to make subplots to contain my maps. I have a thermal emission map of a planet as function of time and i need to look at it at several moments in time (lets say 9 different…
Diana Jovmir
  • 41
  • 1
  • 3
4
votes
1 answer

Python pandas plotting shift x-axis if twinx two y-axes

I have a dataframe with 3 columns: one of them is a "groupby" column, the other two are "normal" columns with values. I want to generate a boxplot and a bar chart as well. On the bar chart I want to visualize the number of occurences of each group's…
ragesz
  • 9,009
  • 20
  • 71
  • 88
4
votes
0 answers

How to shift the bottom xy plane to origin level in a 3d plot?

I'm plotting a 3d surface in MATLAB with surf and the result is like this: How can I shift the position of the xy-plane at the bottom to the position marked with red square (along with the labels)?
corindo
  • 151
  • 3
4
votes
0 answers

Adding ticks to 2 axes of a persp plot

I would like to add numeric axes to my persp plot with the following code persp(F1, phi=30, theta=120, xlab="x", ylab="y", zlab="z", axes=T, ticktype="detailed") However, I do not want the ticks on the z axis. How can I remove these ticks whilst…
4
votes
1 answer

Changing tick labels without affecting the plot

I am plotting a 2-D array in python using matplotlib and am having trouble formatting the tick marks. So first, my data is currently organized as a 2-D array with (elevation, latitude). I am plotting values of electron density as a function of…
Will.Evo
  • 1,112
  • 13
  • 31
4
votes
1 answer

Highcharts: Plot multiple values in single category

I'm quite new to Highcharts. I want to make one sample chart like: Main problem is that, multiple values in single category. I couldn't mitigate this. I've written something like this $('#container').highcharts({ title: '', credits: { …
Arnab Das
  • 3,548
  • 8
  • 31
  • 43
4
votes
1 answer

matplotlib get axis-relative tick positions

I know that I can get the positions of my y-ticks by ax.get_yticks() (btw., is that the best/correct way to get them?). But I need the tick positions relative to the axis limits (i.e., between 0 and 1). What is the best way to get that? I tried…
frixhax
  • 1,325
  • 3
  • 18
  • 30
4
votes
0 answers

Can I get the axis that will be returned by `pyplot.subplots` inside the constructor for the figure it creates?

I'm using a custom figure class in a call to pyplot's subplot() fig, ax = matplotlib.pyplot.subplots(FigureClass=MyFigure) and would like to use the axis object(s), ax, normally returned by subplot(), in the constructor to the custom figure class.…
orome
  • 45,163
  • 57
  • 202
  • 418
4
votes
1 answer

Unwanted default thick axis lines in R plot function

When I make any plot in R it always results with a thicker axis line along the numbered portion of the surrounding box. It's a nuisance as I must always turn the axes off in plot(), and then redraw them with zero thickness. I've noticed other…
MBeck
  • 93
  • 8
4
votes
1 answer

Mayavi, python axes INDICATOR

does anyone know how to switch on the axes INDICATOR in python code? I can switch it on when the graph is plotted, but I wanna know how to do it in code. I have found only how to switch on the axes: mlab.axes() but it is not the indicator (I mean…
Nic Taky Nic
  • 107
  • 8