Questions tagged [axis]

This tag should be used for questions about editing a plot axis, from any plotting library (e.g. matplotlib, ggplot, pandas, bokeh, plotly, etc.). Don't use this tag to refer to Apache Axis. Use [apache-axis] instead; see: https://meta.stackoverflow.com/q/276302/

3009 questions
10
votes
7 answers

Axis error about runtime location

The error is: Exception occurred while reading or writing file {0}The Axis2 facets cannot be installed since the Axis2 runtime location has not been set. Go to the Web Services preference page and set the Axis2 runtime location under Axis2…
Ayrad
  • 3,996
  • 8
  • 45
  • 86
10
votes
3 answers

How to use Jqplot to show two groups of differently colored bars in the same stacked bar chart

I want to make a bar chart with two sets of stacked bars which are grouped together to compare the two groups of stacked bars. This should be displayed in the following manner: I have gone through this link But it didn't help me plot something like…
Anish Nair
  • 3,238
  • 29
  • 41
10
votes
3 answers

Custom x-axis values in a matlab plot

Currently when I plot a 9 by 6 array, the x-axis of the figure is just 1, 2, 3 up to 9. The Y-axis shows the correct values. Instead of 1 to 9 I would like the x-axis values to be custom. They should be 100 200 400 1000 2000 5000 10000 20000…
Devon
  • 393
  • 2
  • 5
  • 17
10
votes
2 answers

Controlling axis ticks and axis lines separately on R lattice xyplot

How can I go about removing the box around an xyplot, while keeping the axis scale tick marks? In the spirit of Edward Tufte's minimalist data graphic aesthetic, these axis lines are "non-data ink," and can (should?) be…
mac
  • 3,137
  • 1
  • 28
  • 42
9
votes
2 answers

plot this in ggplot. Controlling y axis line within a range

This is using base, where I can control the x and y axis range, where exactly the line should be drawn. plot(mtcars$mpg, mtcars$hp, ylim = c(0, 400), xlim = c(0, 50), axes = F, xlab = 'mpg', ylab = 'hp', pch = 16) axis(side = 2, at = seq(100, 400,…
PoisonAlien
  • 431
  • 4
  • 13
9
votes
3 answers

Handler to add HTTP headers to HTTP request not invoked when using Axis Client API

I am using the Axis API to access Axis HTTP server. The documentation of the API can be found here. I am using the following code to add handlers to the server. service is of type java.xml.rpc.Service HandlerRegistry registry =…
Rohit Banga
  • 18,458
  • 31
  • 113
  • 191
9
votes
1 answer

R ggplot2 scale_y_continuous : Combining breaks & limits

Problem: I cannot find any way to combine the breaks and limits commands in ggplot2. The y-axis should always contain the range of 0-40 and breaks=c(5,10,15,20,25,30,35). The x-axis should be 0-100, breaks=c(10,20,30,40,50,60,70,80,90,100). I do NOT…
Baycat
  • 93
  • 1
  • 1
  • 5
9
votes
1 answer

How to display the value for the final tick on axis in D3?

I am using d3.time.scale to generate x-axis, and the domain ranges from 1980 to 2013 (year) However, tick value only displays upto 2012, not 2013. I tried .ticks(), but the final tick value does not display until tick count is 25... Although I can…
user3562812
  • 1,751
  • 5
  • 20
  • 30
9
votes
4 answers

Remove only axis lines without affecting ticks and tick labels

Is there a way to remove only the axis lines in the Matlab figure, without affecting ticks and tick labels. I know that box toggles the upper and right axes lines and ticks and that works perfectly for me. But my problem is that I want eliminate…
Denny Alappatt
  • 135
  • 1
  • 2
  • 5
9
votes
2 answers

matplotlib: Setting both major and minor ticks forces same x and y scale

This question is related to the earlier question I asked "matplotlib: Change grid interval and specify tick labels" but now I want to change the scale for x and y axes. When I set the range for x and y axes and then specify the intervals for major…
owl
  • 1,841
  • 6
  • 20
  • 30
9
votes
3 answers

rotate X axis labels 45 degrees on grouped bar plot R

How can I rotate the X axis labels 45 degrees on a grouped bar plot in R? I have tried the solution suggested here but got something very messy, the labels seem to have been added multiple times (only showing the axis part to protect data…
biohazard
  • 2,017
  • 10
  • 28
  • 41
9
votes
2 answers

D3 linechart string domain x-axis

I'm relatively new to D3, and I can't figure out why something isn't working. I want to draw a line-chart with d3, and this works fine, but I have problems with the axes. With the following code it goes wrong somewhere and I don't see how to…
Vincent Hogendoorn
  • 700
  • 1
  • 7
  • 23
9
votes
1 answer

Change distance between x-axis ticks in ggplot2

Right now I am producing a line graph with three observations. Hence, there are three x-axis ticks. I want to manually reduce the distance between the x-axis ticks and basically force the observations to be closer to each other. In other words, I…
user1738753
  • 626
  • 4
  • 12
  • 19
9
votes
1 answer

Gnuplot, description distance to axis

How can I get a fixed distance in gnuplot from the border of my graph to the description? When I use set ylabel "{/Symbol s}[MPa]" font "Times Italic, 10" The description is a bit too far away from the axis.
YaY
  • 333
  • 1
  • 4
  • 14
8
votes
1 answer

Attach client certificates with Axis2?

Is it possible to easily attach a client certificate to a Axis2 stub generated using wsdl2java? I need to change the client certificate dynamically on a per-request basis, so simply storing it in the keystore won't work for our case. I've found…
Sunny
  • 1,129
  • 4
  • 13
  • 25