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…
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…
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…
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?
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…
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…
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)?
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…
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…
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: {
…
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…
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.…
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…
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…