4,064 questions
-2
votes
0
answers
36
views
Map cursor movement using an AXIS joystick [closed]
I'd like to know if there's a way, or software, to map mouse movement to the movement of a gaming joystick?
For example, if I move my mouse cursor to the top of the screen, I'd like it to correspond ...
0
votes
1
answer
83
views
WSO2 MI – Error Could not write JSON stream when handling base64 payload
I’m working with WSO2 Micro Integrator and exposing a PATCH API that receives a base64 document in JSON payload, then forwards it to a backend service.
<resource methods="PATCH" uri-...
-5
votes
1
answer
151
views
How to change a chart so the category axis position is "On tick marks"?
I've been using Apache POI to create an Excel workbook with multiple worksheets and complex charts. Writing data to cells and formatting the cells has been relatively straightforward, but formatting ...
2
votes
1
answer
139
views
How to make my plot legend be inside the axis?
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 ...
1
vote
2
answers
135
views
Display labels on both sides of Gnuplot graph
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 ...
0
votes
1
answer
96
views
Positions of vectors wrong in matplotlib.pyplot.quiver
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$...
0
votes
1
answer
88
views
How do I change the axis in excel from mmm-yy to qq-yy? [duplicate]
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 ...
0
votes
1
answer
72
views
How to make "axis_logticks" work on secondary axes with ggplot2 in R?
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() +
...
0
votes
0
answers
1k
views
VMD Main >>> Display -> Axes -> Origin
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 ...
0
votes
2
answers
85
views
Auto fit for Y axis doesn't work as expected
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)....
3
votes
1
answer
80
views
Is there a way in R to specify the space between to make my X Axes fit my map?
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 ...
3
votes
2
answers
136
views
Log-shift transformation does not squish the data
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 ...
2
votes
2
answers
238
views
How can I make a discontinuous y axis in R with ggplot2?
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 ...
6
votes
2
answers
312
views
Fixed aspect ratio prevents patchwork to collect axis titles
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 ...
0
votes
0
answers
37
views
Matplotlip axis labeling with vernal equinox
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 ...