Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
85 views

I would like the legend to my scatter/line plot to be inside the axis of the plot it is informing, but I can only seem to get a legend if is has its own axis, which becomes a problem when I want three ...
Anna's user avatar
  • 25
1 vote
2 answers
114 views

Gnuplot 5 on Raspberry Pi. How can I duplicate the y-axis text (-1, -0.8 etc) on both the left and the right sides of the graph? This is the code used to create it: set key fixed left top vertical ...
Jacques's user avatar
  • 33
0 votes
1 answer
82 views

I am trying to demonstrate that $v_1 + t(v_2 - v_1)$ is a parameterized line using vectors $p_k=v_1 + \frac{k}{8}(v_2 - v_1)$ for $k=0\ldots 8$ with tails at the origin, and then the vector $u=v_2-v_1$...
Pynex's user avatar
  • 3
0 votes
1 answer
61 views

I want to change the format of an axis from mmm-yy to qq-yy. Example, I want "Dec-22" to be "Q4-22". The dates are NOT in the data, so I can't change the date format in the data ...
bereedcpa's user avatar
0 votes
1 answer
64 views

I'd like to show log tick marks on both primary and secondary axes in a log-log plot using ggplot2. R version: 4.4.2 ggplot2 version: 3.5.2 Here's a simple log-log plot: library(ggplot2) ggplot() + ...
rokamama's user avatar
  • 115
0 votes
0 answers
1k views

In VMD Main window, Display -> Axes -> Origin, in this situation xyz-Axes do not show the simulation box real origin. It shows the material point, that is to say, center of mass of only the ...
quantax's user avatar
  • 11
0 votes
2 answers
79 views

I noticed that under some circumstances the auto fit of the Y axis doesn't work (even when invoking fit method manually). It seems to be related to traces not having the same amount of points (length)....
Antonio Giliberto's user avatar
3 votes
1 answer
76 views

I'm trying to display a planisphere using a map from rnaturalearth library, and I want to add some X and Y axes on each side of my planispher, I managed to set up correctly the Y axes, but I can't ...
Alonso's user avatar
  • 57
3 votes
2 answers
130 views

When I plot a density using geom_spatraster, there's a particularly prominent peak that's 'bright' in the visualization. This spike skews the color scale, compressing the representation of other data ...
KeepDigging's user avatar
2 votes
2 answers
192 views

Building from this question: How can I make a discontinuous axis in R with ggplot2? How can we adjust this code to create the same effect but in the y axis? I am having no success with keeping the ...
CatM's user avatar
  • 315
6 votes
2 answers
299 views

When merging axis labels with the patchwork package, problems occurred (see this question). From the answer of the question, I applied the idea of the example code to my concrete example, in which I ...
Excelsior's user avatar
  • 287
0 votes
0 answers
34 views

I need to label the vernal equinox on a Matplotlib 3D plot. ax.set_xlabel("x (AE)") ax.set_ylabel("y (AE)\n♈") ax.set_zlabel("z (AE)") As you can see in my two ...
Robert's user avatar
  • 77
0 votes
0 answers
86 views

I have a question about Excel VBA. I struggle to find out what is causing a certain behaviour. When running the code below, which is started with a Button on sheet 1, the graphs on sheet 2 are changed....
Stijn's user avatar
  • 21
0 votes
0 answers
60 views

I have 2 axes displayed together (ax1 and ax2) and controlled but the default toolbar. When I click on "Visualisation", ax1 and ax2 are hidden, to create a new axis ax3 in bigger. It works, ...
Bast38's user avatar
  • 105
2 votes
2 answers
98 views

How do I turn off the major x axis grid from this axes? This code below works on 2d plots to hide the major x gridlines. On 3d plots it doesn't seem to do anything. I prefer to use general axes ...
Python_Learner's user avatar
2 votes
1 answer
118 views

In Stata, how can I force the graph to stop displaying after a certain point on the x-axis? For instance, say that I have: sysuse auto2, clear gen mid = (price + weight)/2 gen n = _n twoway /// ...
bill999's user avatar
  • 2,580
2 votes
2 answers
102 views

I am plotting a graph with date on the x axis and data on the y axis. However the graph is completly wrong and I don't understand why... df['Date_TrailClean'] = pd.to_datetime(df['Date_TrailClean']) # ...
Heather Kay's user avatar
0 votes
1 answer
56 views

I have the plot below, with secondary axes showing row and column totals. I want to label these as "Total". I know that I can get an axis title by altering name = NULL, but that will only ...
EcologyTom's user avatar
  • 2,568
0 votes
0 answers
83 views

I'm using the following code (inside a main code written in open3d) for visualizing the local axis of the bounding box of selected point clouds. It is working, but in a new window. I want to see the ...
Ahmad Mashayekhi's user avatar
0 votes
1 answer
52 views

Is it possible in chart js display grid lines - while formatting different only the 2 main axis lines. x-axis (y=0) and y-axis(x=0). in y axis - set different color for y ticks values: red for ...
OJNSim's user avatar
  • 818
0 votes
0 answers
36 views

I would like to know if it is possible to draw bold the axes of a ggplot at zero modifing the axis lines in theme, instead of using geom_vline, and at the same time taken care of that the axes tick ...
Rubén Pérez Sanz's user avatar
1 vote
1 answer
82 views

import matplotlib.pyplot as plt size = 18 value = [20, 25, 30, 35] x_values1 = list(range(0, 100, 5)) x_values2 = [0.0, 20.0, 40.0, 60.0, 80.0, 90.0, 95.0] x_values3 = [80,76,72,68,64,60,56,52,48,44,...
Prajwal Kumar A's user avatar
0 votes
1 answer
210 views

I want to create a barplot with R base. My problem now is, that I would like to change the y-axis interval from 2 to 1. (at the moment I have the steps 0,2,4,6,8,10,12; and I want 0,1,2,3,4,5,6,7,8,9,...
Norados's user avatar
0 votes
0 answers
51 views

I'm trying to overlay two figures in a plot, but when I use the twin axes as default, the resulting plot doesn't make much sense. I need to move the second figure (the one to be overlaid) to the top ...
JCV's user avatar
  • 527
0 votes
1 answer
23 views

I would like to use one single title that goes across facets for the x-axis in this plot. How to do that in python using altair? Apparently, Altair does not provide that functionality. import altair ...
Diogo's user avatar
  • 871
0 votes
0 answers
42 views

I am using Axis2 to consume a SOAP web service hosted at an endpoint that looks like this: https://example.com/car.asmx?wsdl However, when I make a request, I get the following error: An invalid ...
Philipp2706's user avatar
0 votes
0 answers
14 views

is it possible to create a ternary plot with values larger than 100? I'm trying to plot the relationship between annual minimum temperature, maximum temperature, rainfall and tree height (as heat ...
Jaco-Pierre van der Merwe's user avatar
0 votes
1 answer
47 views

How can you change the y-axis in matplotlib such that you have specified ticks ([0, -1, -8, -44, -244]) but they are evenly spread over the y-axis (the gap between 0 and -1 is just as big as the gap ...
Max's user avatar
  • 3
0 votes
2 answers
38 views

I have a request regarding the use of autoscale_view(). I was expecting it to scale the plot considering only the visible artists, but it does not have such an effect. I have a small test script as ...
PBrockmann's user avatar
0 votes
1 answer
29 views

Trying to create movement through vertical axis, only when objects are overlapping. I basically want my character to be fixed to the wall before they're able to climb up. Here's my player code, no ...
olewis9's user avatar
0 votes
1 answer
69 views

I have the following script to construct a ggmap, along with a polygon and some points. The example is not reproducible but this is not an issue because the problem that I face is related to the ...
ΚΩΝΣΤΑΝΤΙΝΟΣ ΠΑΝΑΓΙΩΤΟΥ's user avatar
0 votes
0 answers
86 views

My data looks like this: Name Date 1% 2% 10% ... 100% Anne 1/1/24 3 5 1 ... 92 Anne 1/2/24 4 8 2 ... 78 Anne 1/3/24 7 9 6 ... 47 My x axis are the percentages: 1%, 2%, 5%, 10%, 15%, 25%, 50%, and 100% ...
mmv456's user avatar
  • 33
1 vote
0 answers
97 views

I am currently struggling to create a 3-panel figure where the centre plot contains a contour plot and the top left and right panels show some lines. The thing is that all the plots are rotated 45 ...
Sven Lämmle's user avatar
0 votes
1 answer
140 views

I use Highcharts (Gantt module) to generate a Gantt Resources Management chart with a left axis as a table. It works very well but, for a specific alignement reason with other charts, I need to fix ...
vegaelce's user avatar
  • 153
-1 votes
1 answer
72 views

I apologize if this is an easy and simple question that has already been answered. I have some data I am trying to chart as a clustered bar graph using a pandas dataframe in python and so far it has ...
A. Gale's user avatar
0 votes
1 answer
56 views

I tried many times to plot line data of temperature over a stacked bar chart, but it didn’t work. My data consists of four columns as shown below: site, Frequency, Movie _Status, and temperature: Site ...
Hadeer ismail's user avatar
1 vote
2 answers
58 views

I have ambulance response time data as seconds. For example (32, 158, 36, 459, 830, 396). I am able to make a Matplotlib histogram binning the data into 60 second increments. On the x axis label the ...
David Fort Myers's user avatar
1 vote
1 answer
39 views

I have the following chart that combines five variables: library(ggplot2) data(mtcars) ggplot(mtcars, aes(x=mpg , y=disp , color=cyl)) + geom_point() + facet_grid(vs~am) which gives me a graph ...
kwadratens's user avatar
2 votes
1 answer
167 views

I have multiple plots made with ggplot2 that I arrange together using cowplot. They all have the same length, and an x-axis with the same breaks at the same places, but with different labels. This is ...
DaniCee's user avatar
  • 3,247
2 votes
2 answers
107 views

I have a simple line plot where I show a DNA sequence on the x-axis, done in the following way with ggplot2: myseq <- "AGAATATTATACATTCATCT" set.seed(123) mydata <- data.frame(time=1:...
DaniCee's user avatar
  • 3,247
0 votes
1 answer
90 views

Say I have the final_df data frame in the MWE below, and I make the plot below it, using a custom scale_x_continuous and element_markdown from ggtext. myseq <- "AGAATATTATACATTCATCT" set....
DaniCee's user avatar
  • 3,247
0 votes
1 answer
53 views

I'm using LiveChartsCore 2.0.0-rc2 together with the .SkiaSharpView and .SkiaSharpView.WinForms (also the same 2.0.0-rc2 version) I'm trying to create a multiple axis Vertical Axis graph such as For ...
desiredness's user avatar
1 vote
0 answers
28 views

I'm drawing a graph using contour from the d3 library, and I'm having trouble with the graph and the axes overlapping. I don't know what the problem is. The code below is the code that's causing the ...
Inyong's user avatar
  • 11
0 votes
2 answers
97 views

Could you tell me if Quaternion (-Q0, Qx, Qy, Qz) is exactly the same as (Q0,-Qx, -Qy, -Qz)? I am testing a SW tool against a formula and I have noticed that sometimes the signs are different. The ...
CmBe's user avatar
  • 23
0 votes
1 answer
47 views

I would not like to have the first label on the y-axis on my figure which looks like this now, since I don't find it very nice to have it like this. In my solution, I tried excluding the ...
Márton Horváth's user avatar
0 votes
0 answers
56 views

I am trying to create a plot for my stable isotope data from sequential dentine sampling which provides deltaN15 and deltaC13 data as well as age assignments. I would like to have the x-axis be the ...
wishywashytreant40's user avatar
-1 votes
1 answer
45 views

I have the following scatterplot in ggplot: library(ggplot2) ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width)) + geom_point() + theme_classic() + scale_y_continuous(limits = c(2, 5)) + ...
Coppertank's user avatar
-1 votes
1 answer
74 views

starting from the example at: https://openpyxl.readthedocs.io/en/stable/charts/scatter.html#scatter-charts original scatter plot](https://i.sstatic.net/82ypMpIT.png) I would like to generate this plot ...
tab's user avatar
  • 19
1 vote
0 answers
37 views

Here is my plot: import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns import matplotlib.dates as mdates dates = pd.date_range('2020-03-31', '2024-06-30', freq='...
user1700890's user avatar
  • 7,824
1 vote
1 answer
99 views

In the attached image I want to replace -1 by -Inf and 3 by Inf. This is the code: F <- function(x) { f <- NULL f[x < 0] <- 0 f[x >= 0 & x < 1] <- 0.4*x[x >= 0 & ...
Amelia's user avatar
  • 179

1
2 3 4 5
82