For plotting questions related to adjusting the y-axis.
Questions tagged [yaxis]
528 questions
0
votes
1 answer
Fix both y-axis to 0 highcharts
I am trying to make a highchart, with both negative and positive values. Now the thing is, that negative values, are not very big, compared to the positive ones.
Here is a picture of the graph as is:
Now if you look closely on both the y-axis, they…

Jannik
- 401
- 1
- 5
- 17
0
votes
1 answer
Microsoft ReportViewer: Customize Y-Axis labels to match a specific format
I would like to customize the Y axis labels of a graph plotted with Microsoft ReportViewer.
What I want is to have a logic like the following:
If (value>1000000)
return value/1000000 & "M"
else
return value
For example if the value of the…

Eux
- 482
- 7
- 16
0
votes
2 answers
Matlab: plot lines parallel to the y axis
I want to plot all lines parallel to the y axis with x=10, 20,30,...,100
I wrote x as:
x=linspace(1,100,10);
and I try to plot in this way:
figure(1)
plot([x; x], [zeros(1, length(x))*min(ylim); ones(1, length(x))*max(ylim)],'r')
but this does not…

user3582433
- 469
- 1
- 8
- 24
0
votes
1 answer
Behavior of log axis
I heard Log values should always be a power of log base. I was playing with the log axis demo in highcharts
http://jsfiddle.net/jjg4z79x/
I set min value of yaxis to 9. This shows unexpected values in labels of log axis 4, 10, 20, 40, 100, 200, 400,…

Kira
- 1,403
- 1
- 17
- 46
0
votes
0 answers
Put correct labels on y-axis with matplotlib
I have an OHLC candlestick graph and i want put the correct labels on y-axis but i cant, i want to put the close price in y-axis. This is my code and data.
the graph looks like this :…

Samael Olascoaga
- 161
- 2
- 10
0
votes
2 answers
Change the y axis length for boxplots with R
is there a way to increase the y axis length to the maximun value?
When I use this code:
par(mfrow=c(3,5))
for (i in…

T. Veiga
- 191
- 2
- 10
0
votes
1 answer
Preventing Y Axis movement in Unity `transform.forward`
I am creating a 3D game in Unity, and I have a script that lets the player look around with the mouse. For moving the player in the direction they are looking, I am using transform.forward. My problem is that when they are looking at the ceiling and…

Sub 6 Resources
- 1,674
- 15
- 31
0
votes
1 answer
Format function for y-axis title text in highcharts.js
I am creating line charts with dynamic data using highcharts.js API. I need to change the title of y-axis depending upon the visible series using button. Currently I am doing this which is working fine.
…

JEECoder
- 145
- 1
- 1
- 12
0
votes
1 answer
How can I fix misaligned ticks on the y axis of my plotly graphic?
This is how my code is looking like right now:
library(plotly)
library(RColorBrewer)
year <- c(1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006)
amt <- c(11000, 16000, 21000, 27000, 33000, 37000, 43000, 54000,…

LauraP
- 311
- 1
- 4
- 13
0
votes
0 answers
Break in data in ggplot2
I know that Hadley has made a point about not inserting breaks in data,
but, is there a way of putting a break in this data in ggplot 2? I really like the package and am dreading having to change all my graphs and learn another package.
My data…

LucySHE
- 387
- 1
- 3
- 9
0
votes
1 answer
jqPlot multiple series labels with multiple yaxis
I have some multiple series for jqPlot with labels correctly stored in:
data.labels=[[label:'A'],[label:'B'],[label:'C']]....
which I can successfully use by:
series: data.labels,
highlighter: {
show: true,
sizeAdjust: 6,
…

iMarh
- 189
- 16
0
votes
0 answers
Highcharts: Logarithmic scale for Waterfall bugs
When trying to set my yAxis to logarithmic type on a Waterfall chart, Highcharts throws the following error.
Error 10 : Can't plot zero or subzero values on a logarithmic axis
I've tried setting pointStart: 1 in my series, also tried to set…

Kabulan0lak
- 2,116
- 1
- 19
- 34
0
votes
3 answers
MPAndroidChart: yaxis is not aligned to zero It shows middle of the chart
For set Y values I used this code snippet
ArrayList yVals = new ArrayList();
int sizeOfY = analyticsWeek.getGraph().size();
if (sizeOfY > 7)
sizeOfY = 7;
for (int i = 0; i < sizeOfY; i++) {
…

Anant Shah
- 3,744
- 1
- 35
- 48
-1
votes
1 answer
Need detailed example how to create line charts with two or more y axis?
I am looking for a detailed code example for a line chart with at least 2 y-axis that have different ranges.
I am aware of the example in the documentation here:…

Uwes
- 17
- 3
-1
votes
1 answer
How to offset twinx y-axis by specified amount?
I am familiar to using twinx() to share an axis's x-axis with another subplot:
fig, ax1 = plt.subplots()
ax2 = ax1.twinx()
ax1.plot(xdata1, ydata1)
ax2.plot(xdata2, ydata2)
This makes the y=0 axis line up between ax1 and ax2, but the axes are still…

PGmath
- 381
- 3
- 16