axis

Extra/dupe members in SOAP response prevents serialization (Axis, Java, Gson)

假装没事ソ 提交于 2019-12-13 00:39:48
问题 I am using Axis to call a SOAP-based web service. I'm then trying to serialize the returned remote object as JSON, using the Google Gson library. The serialization to JSON fails, with Gson complaining that "there are multiple elements with the name __equalsCalc()). When I inspect the returned object in my IDE (Eclipse), I can see that this is true -- the returned object has three members called __equalsCalc() and another three called __hashCode. I know from looking around that these are added

CorePlot axisLine and gridLine length too long

断了今生、忘了曾经 提交于 2019-12-13 00:29:53
问题 I'm using CorePlot for my current project and its amazing. The only problem I came across is the length of the axis and grids. I'm only using a positiv coordinate system with labels on the left and bottom side. And my problem is the length of the axis and grids in direction to my labels. I tried to use: axisSet.xAxis.orthogonalCoordinateDecimal = CPTDecimalFromString(@"-value"); axisSet.yAxis.orthogonalCoordinateDecimal = CPTDecimalFromString(@"-value"); or x.labelOffset = value; y

Bar plot with two y axes

。_饼干妹妹 提交于 2019-12-12 19:13:07
问题 I have the following code for a plot with 2 y-axes in MATLAB. I am glad that the 2-axes feature works, however, I would like to avoid the overlapping of the bars. Also, the categories on the right-hand axis should have different colors, not only yellow, yet it should be somehow clear that they are plotted on the right-hand axis and not the left one. How can this be done? EONMW = [100 399 500]; RWEMW = [200 996 120]; GermanByEON = [0.2 0.4 0.5]; GermanByRWE = [0.1 0.5 0.9]; EONGermanPortfolio

Adding text to axis labels in ggplot

拈花ヽ惹草 提交于 2019-12-12 16:24:12
问题 I have plotted a graph from the following table. BoatPhs fit se lower upper 1 Before 3.685875 0.3287521 3.038621 4.333130 2 After0-20NTA 3.317189 0.6254079 2.085872 4.548506 3 After0-20TAA 5.579384 0.5696270 4.457890 6.700878 4 After0-20TAP 3.932360 0.4304098 3.084960 4.779760 5 After20-40NTA 4.522714 0.7771793 2.992586 6.052842 6 After20-40TAA 4.505207 0.5500699 3.422217 5.588196 7 After20-40TAP 3.602183 0.3880538 2.838174 4.366192 8 ApproachNTA 4.039599 0.5688482 2.919638 5.159560 9

Axis SecureSocketFactory - Setting the constructor attributes

China☆狼群 提交于 2019-12-12 12:27:52
问题 I have a customer SecureSocketFactory set to be used by Axis when making an https connection using the following property: AxisProperties.setProperty("axis.socketSecureFactory", "com.metavante.csp.model.manager.mobilepayments.MonitiseSSLSocketFactory"); When this class is instantiated by Axis, the constructor with a Hashtable (attributes) is called. I see the timeout attribute is set in this table. Is there anyway to set more values in this? I would like to be able to configure the Socket

Print ggplot y axis values in 10 thousands

走远了吗. 提交于 2019-12-12 12:06:51
问题 I am having some trouble changing my y-axis values. This is my df: Years <-c("1997","1997","1997", "1998","1998","1998", "1999", "1999","1999","2000", "2000", "2000") Type <-c("Export","Import", "Production","Export","Import", "Production", "Export","Import", "Production","Export","Import", "Production") Amount <- c(12063595,19465000,38591914,14929732,20941620,42570725,33598846,30533486,62633597,39755626,30129958,49493053) df <-data.frame(Years, Type, Amount) And this is the graph I have

R - factor level orders (and ggplot group axis order)

大憨熊 提交于 2019-12-12 04:05:20
问题 I am trying to control the order of discrete groups on an axis in ggplot, so I am setting the order of my factor variable. Using the levels() function actually seems to change the data in the data frame - not the way R treats the underlying ordering of the data (see below). Am I doing something wrong? which function should I use instead of levels()? thanks! head(pctCStack,4) BRK Time x 1 ICs December 2013 0.6717300 2 Managers December 2013 0.8024344 3 ICs July 2014 2.0417851 4 Managers July

pandas access axis by user-defined name

こ雲淡風輕ζ 提交于 2019-12-12 03:43:19
问题 I am wondering whether there is any way to access axes of pandas containers (DataFrame, Panel, etc...) by user-defined name instead of integer or "index", "columns", "minor_axis" etc... For example, with the following data container: df = DataFrame(randn(3,2),columns=['c1','c2'],index=['i1','i2','i3']) df.index.name = 'myaxis1' df.columns.name = 'myaxis2' I would like to do this: df.sum(axis='myaxis1') df.xs('c1', axis='myaxis2') # cross section Also very useful would be: df.reshape(['myaxis2

Axis generating nil on a non null Array

我怕爱的太早我们不能终老 提交于 2019-12-12 03:11:25
问题 I have the following Tags in a WSDL : <xs:element name="promoCodeValues" maxOccurs="1" minOccurs="0" > <xs:complexType> <xs:sequence> <xs:element nillable="false" name="promoCode" type="ac:stringMax20"/> </xs:sequence> </xs:complexType> </xs:element> When I use Eclipse and generate Axis client (using Axis 1.4) I get the following description lines in my class : elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("promoCodeValues"); elemField.setXmlName(new javax

Changing XML structure in SOAP Handler

…衆ロ難τιáo~ 提交于 2019-12-12 03:06:52
问题 I use Axis 1.4 and I want to insert an additional level within in the XML of a SOAP body within the client. There is a server response, which I can get with a subclass of javax.xml.rpc.handler.GenericHandler in the client: Now I try to recognize the right message type with SOAPMessageContext smc = (SOAPMessageContext) context; SOAPMessage message = smc.getMessage(); SOAPBody sb = message.getSOAPBody(); NodeList nl = sb.getElementsByTagName("projectDataReturn"); if (nl.getLength() == 0) {