Questions tagged [axis]

0

votes
0

answer
2

Views

How display chart axis in normal layout (Y-Vertical, X-horizontal)? (Auto-replace error with axis layout) [C# WindowsForms]

I try to print a point chart (WindowsForms) in normal layout (I mean axis X is horizontal, and axis Y is vertical), but when I do it, it auto changed axis location. After print I've got X in vertical and Y in horizontal. image -> https://ibb.co/7KvdfXr (I dont have 10 reputation rank...) How display...
Tom Mro
1

votes
1

answer
834

Views

ggplot2: Reversing secondary continuous x axis

I am trying to reverse the secondary X axis on top of my ggplot. ggplot( data=MasterTable, aes(x=Concentration, y=Signal, color=factor(Assay))) + scale_x_continuous('Chemical 1', sec.axis = sec_axis(~ . *1, name = 'Chemical 2'), scale_x_reverse(limits=c(400,0))) If you remove the last section of...
Marty999
1

votes
1

answer
885

Views

wsimport missing @WebMethod for single operation

I'm trying to generate a Java client for a webservice defined by http://v3.core.com.productserve.com/ProductServeService.wsdl I've tried Java's wsimport and wsdl2java from both CXF and Axis2. e.g. wsimport -p productserve -XadditionalHeaders http://v3.core.com.productserve.com/ProductServeService....
Boy Pike
1

votes
1

answer
1.4k

Views

seaborn modify y axis (log scale) to show more values

I have plotted a boxplot using seaborn, the y axis is uses a log scale (time in miliseconds). I would like to make the y axis more clear by including more values on the axis. How could I achieve that? The code used and the graph generated are below. ax2 = sns.boxplot(x='xVals', y='Time', data=df2, w...
RegUser
1

votes
1

answer
101

Views

GameMaker Snes Controller Vertical axis not working

I've been trying to figure this out for some time. Basically I recently purchased some cheap Snes controllers off Amazon. (https://www.amazon.com/iNNEXT-Nintendo-Controller-Gamestick-Raspberry/dp/B01N7ANDLC/ref=sr_1_9?s=videogames&ie=UTF8&qid=1516067256&sr=1-9&keywords=snes+controller) They have wor...
Gavin Grey
1

votes
0

answer
116

Views

in Javafx: for the x-axis, how to turn epoch time into a date label on the ticks?

I'm trying to map data to time on JavaFX in a graph that keeps getting new info added. The problem is not being able to show dates on the x-axis in a line graph in JavaFX. So I am trying to use the epoch values to represent the dates (which works) and then convert the relevant ticks on the graph to...
vachina
1

votes
0

answer
199

Views

How to scale up positive y-axis, or scale down negative y-axis in matplotlib

I used matplotlib to make a plot as shown in the attached file. There is not much data on this plot at the moment but I foresee that most of the data will be on the positive side of the y axis while a minority will be on the negative side. I want to ask if there is a way to say, compress the negati...
Craver2000
1

votes
0

answer
83

Views

rails google chart bar chart vAxis label using half of width on mobile

I have a chart that display good on desktop but on mobile/small screen (phone) the label on the v axis is cut off (see image). How can i shrink the graph so that the chart uses 50% of the width while the labels use the other 50% of the chartArea so that the label can be shown full length and not cut...
mamesaye
1

votes
1

answer
429

Views

Cmake toolchain for 32-bit MIPS processor

Need to run an Azure IoT SDK C sample on an Axis camera. Using the standard cmake to build the samples does not work, as they are compiled for 64-bit x86_84. Need it to be compiled to MIPS32. Eugene Sh. suggested making a toolchain file for it. I've written one now, but it fails at 16% with the foll...
Kagemand Andersen
1

votes
0

answer
80

Views

Bokeh: display image on plot axis legend ticks

Is there a way to get Bokeh to display an image on axis ticks instead of a string or a numerical value? For example from bokeh.io import show from bokeh.plotting import figure images = ['img1.png','img2.png','img3.png'] p = figure(x_range=images, plot_height=250, title='Stuff', toolbar_location=None...
Zwentibold
1

votes
1

answer
434

Views

How to get the trigger Buttons of a PS4 Controller into Android?

I am trying to get my PS4 Controller as a model into an Android App. Exampels from Androids Developer Page (joysticks and digital buttons) work fine for me. Ichecked this with the Log.e outputs. I don't get the point how to get the values of R2 and L2. On the developers page it is describe this way:...
Wunschkonzert
1

votes
0

answer
93

Views

Highcharts/Highstock “Custom ticks” screwing xAxis up

How do I prevent the function from screwing with the other axis labels? Or how do I set custom xaxis labels for rangeSelector All only? I recently resolved a responsive error I was receiving here with the navigator in Highcharts, which could be found here: custom ticks based on selected range from...
IAC93
1

votes
2

answer
41

Views

Time axis manipulation

I have the following time vector in seconds: time = [0,1,2,4,5,7,0,1,2,4,6,7,8,0,1,2,3] def get_elapsed_time(time): for i in range(0,len(time)-1): if time[i+1] > time[i]: elapsed_time.append(time[i]) else: tr = time[i] t1 = tr + 1e-3 # add 1 millisecond to keep both values.. elapsed_time.append(tr)...
Jordan Gallacher
1

votes
2

answer
543

Views

How to log request.xml and response.xml in Apache Axis2

I am trying to log the request and response of a wsdl using Apache axis 2. I got some solution from internet of adding some SOAPHandler and add client-config.wsdd but i am not able to make it working at my place. Anybody can provide me a working solution or any reference which works actually. Any he...
Shivani Garg
1

votes
1

answer
55

Views

Error ploting utf-8 labels

I am trying to display plots but the labels are in utf-8 Arabic, python2.7. import matplotlib.pyplot as plt labels = ['عشرة','عشرين','ثلاثين'] #labels=['A','B','C'] x = [10, 12,13] y = [10,20,30] plt.figure(figsize=(16, 16)) for i in range(len(x)): plt.scatter(x[i],y[i]) plt.annotate...
user3286053
1

votes
0

answer
366

Views

invert radial scale on polar plot in matplotlib

I'm using python 2.7.14 with matplotlib 2.1.1 on Debian buster. I want to create a polar plot with an inverted radial axis. My values on radial axis are mostly negative and I want lower values ploted at higher radius, as they represent a better outcome, and vice versa. Additionally I want to set the...
Lukas
1

votes
0

answer
17

Views

Axis/Log4J FATAL messages not being logged

I am trying to change my log4j settings to log FATAL level messages, however the one message I'm waiting to see in the logs doesn't appear event though it seems to be marked as FATAL. My log4j.properties excerpt: ### Setup Axis Log log4j.logger.org.apache.axis=FATAL, AXISCONSOLE log4j.additivity.or...
chandler3224
1

votes
1

answer
311

Views

Only show one part of interacting x variable in x-axis labels in ggplot

I am plotting interacting variables on the x-axis of a ggplot, for example as below. Since I am using a fill color to indicate one of the values (here, variable), I would only like my x-axis labels to display the other variable (here, study_day). I can't specify a manual scale (scale_x_discrete(labe...
user42485
1

votes
1

answer
66

Views

Trisurf cannot plot into specified axis

I would like to make a triangular surface plot throught the function trisurf, targeting a specified axis. However, MATLAB documentation does not indicate any syntax to do that. When I open the function I get the following first lines: function hh = trisurf(tri,varargin) %TRISURF Triangular surface p...
Francesco
1

votes
1

answer
218

Views

Unable to suppress x-axis label in a plotly violin plot

I just installed the latest plotly R package (devtools::install_github('ropensci/plotly')). I'm trying to generate a violin plot for a single variable and I would like to suppress the x-axis label. I tried: library(dplyr) library(plotly) df % layout(xaxis = list(title = ''),yaxis = list(title = 'To...
dan
1

votes
0

answer
143

Views

spotfire How to hide just one data point from X axis

I have a waterfall chart and I am using 3 columns in the x Axis. 1st column is the Sequence numbers, 2nd column has project number and third with the project names. In the X axis i wanted to add al these 3 columns, the first column in the begining just to show the project names and numbers in the se...
BULB
1

votes
0

answer
147

Views

borders around axis labels in R

I am trying to create box around axis labels. I draw a barchart using the following code df
Vik G
1

votes
2

answer
83

Views

break axis labels in R (Using sjp.frq function)

I'm making some frequency graphs using the sjp.frq function, but the axis labels are to big and I would like to break those in two lines. The shows that the axis labels are one on the top of the other. How do I change this? Thanks for the help! library(sjPlot) library(sjmisc) set_theme(base = theme...
1

votes
1

answer
438

Views

customize axis ticks in ggplot2 [duplicate]

This question already has an answer here: ggplot: different position for ticks and labels on x-axis in grouped bar plot 2 answers I have the following data df
Vik G
1

votes
0

answer
170

Views

Axis Ip cameras python API / implementation of rectification?

I want to receive a rectified image or rectify a image from a Axis IP camera. I have found a ros distribution https://github.com/ros-drivers/axis_camera which can do this. But Im unaware of how I can use this on an ubuntu PC. Tried to make it and failed. I'd like to know if anyone know of an python...
1

votes
0

answer
310

Views

Keras and Numpy Sum Axis

I have a question on the axis=0 for numpy and Keras First, when I run the following code to transform a (2,3,4) array into (3,4) array using sum with axis = 0, it works. v = np.arange(24).reshape(2,3,4) print('v.shape: ', v.shape,'\n','v:\n', v) s0 = v.sum(axis=0) print('s0.shape :', s0.shape,'\n',...
youngtackpark
1

votes
0

answer
42

Views

In R, how to add additional axises when plotting multiple 3D surface in plotly?

Just like the example data: https://plot.ly/r/3d-surface-plots/ I want to make each surface has its own axises, and still be in the same plot. I have ps the plot that example generates to show what I mean, the upper one is what I have, the bottom one is what I want: this is what I got: this is what...
Lucifer
1

votes
2

answer
67

Views

X and Y Ticks on a 4x4 multiplot using matplotlib in Python

I am using Python3.6.5 from an Anaconda install. I have 16 data files containing two columns of data. I am trying to make a plot that shows all the data in one 4x4 plot. I have managed to get all the plots plotted on a large 4x4 plot, but can't adjust the X and Y ticks. The X values range from 0 to...
1

votes
0

answer
53

Views

How to find minimum translation vector of rotated squares?

I've made a collision detection algorithm that can detect if rotated squares are colliding. I am struggling to understand what I should do to resolve these collisions. I think the first step is to calculate a minimum translation vector (MTV) that can separate the two squares. I think the way to do...
Toxic Tom
1

votes
0

answer
57

Views

Why AXIS Array Object is not mapping correctly in SOAP Client Response in Java

Why Array Object is not mapping correctly in Response classes using AXIS in Java. Please find the example as below: private StatementDetails[] statements; static { typeDesc.setXmlType(new javax.xml.namespace.QName('http://COM...Services', 'UserResponse')); elemField = new org.apache.axis.description...
Rajeswari Reddy
1

votes
0

answer
48

Views

python subplot xaxis label

I want to plot a figure with 6 subplots so I use fig = tools.make_subplots(rows=1, cols=6) and I also use fig['layout'].update(yaxis=dict(domain=[0.12, 1])) because I want to have more space for the labels. In each subplot I plot two Bar plots and use fig.append_trace() to add them. Now the first su...
Peter123
1

votes
2

answer
647

Views

Java - Send SOAP header (for authentication)

I've generated some Java code from a wsdl file and the request itself seems to be working, but I can't send my credentials. I've tested the Webservice with a tool called 'SoapUI' and everything seemes to be working like a charm. Here is an example of the (working) xml: id password int And this is...
Fukuan
1

votes
1

answer
176

Views

Dates Overcrowding on X-Axis of Plot :Python

I am currently having an issue with the displayed x labels overlapping on the x axis causing the labels to be illegible. What I have already tried: 1) The axis has been rotated the ticks to 60 degrees, but some plots still overlap 2) Locator_params has been tried, but it throws an error of ' Attrib...
Light.Agent
1

votes
0

answer
61

Views

Axis soap logging issue

I am trying to print Axis Request and response logs(with current date appended) , in order to achieve the same I have created client-config.wsdd but on each web service call a new log file is getting generated resulting is large log file name. Any suggestion would be highly appreciated.
Mrinal
1

votes
0

answer
120

Views

Java 10: Axis 1.4 SOAP Service - Still possible to WSDD?

In my web app I have a soap service which is unfortunately still created with AXIS 1.4. I'm trying to port my app to Java 10, where AXIS 1.4 is not working so well anymore. When I try to create a server-config.wsdd file to deploy the service in Tomcat, the actual webservice is missing. Only default...
flixe
1

votes
0

answer
38

Views

Zoom in multiple Areas and Axis Y

I have a project with multiple AxisY, with 3 series and and each series has its axisY associated. When I zoom, I have achieved that all the series have zoom but the scale of the axisYof the secondary axisY doesn't change, only that of the main series changes. Original Chart: Chart with zoom applied:...
Joel ruiz Jotaman6
1

votes
0

answer
188

Views

org.xml.sax.SAXException: Invalid element in […]

I'm dealing with this issue: I generated the service stubs using Axis 1.4, with 1.4-redhat-1 as lib to the project. I read a lot about this error and people said the issue was from the axis stubs generation itself, and the only solution was to regenerate stubs and recompile the projects that consume...
Thiago Muniz
1

votes
0

answer
176

Views

“Unable to find config file…” when trying to run a simple java class on Tomcat/Axis

The error I receive in the server window upon trying to access the Java class is: Unable to find config file. Creating new servlet engine config file: /WEB- INF/server-config.wsdd The error I receive in the browser window is: No service is available at this URL Running Tomcat 8.5.34 and Axis 1.4...
Tom c
1

votes
0

answer
55

Views

d3 scale depending on nested data

I have dataset with 36 countries and it's nested with 6 groups with 6 countries for each group (the countries are on the x axis). I'm making 6 SVGs, one for each group. Because each group has different countries, I'd like to make a different x scale for each group. I'm trying with .each but it does...
Jamie
1

votes
1

answer
25

Views

Replicate a graph on Wikipedia associated to the Gaussian distribution

I want to replicate the graph of Normal density functions available on Wikipedia. I am stuck on the following parts : how to put the legend at the bottom (I would like to get lines in the graph and don't know if this is even possible with GGplot) the title at the bottom (apparently, one needs to use...
Rororo

View additional questions