Hi guys,
I would like to ask how to plot ellipse in such format??
a*x^2+b*y^2+c*x*y+d*x+e*y-1=0
I tried with ezplot and contour and it didn't seem to work.
Thank you guys!
Cliff.C
Not sure what I'm doing wrong here. I have this plot:
ggplot(data.PE5, aes(ybands,fill=factor(decide))) + geom_bar(position="dodge")
which produces:
Then I want to facet by a factor, creating two stacked plots w/ dodged, colored bars
ggplot(data.PE5, aes(ybands,fill=factor(decide))) + geom_bar(position="dodge") +
facet_grid(~group_label) …
I'm trying to remove the origin ticks from my plot below to stop them overlapping, alternatively just moving them away from each other would also be great I tried this:
xticks = ax.xaxis.get_major_ticks()
xticks[0].label1.set_visible(False)
yticks = ax.yaxis.get_major_ticks()
yticks[0].label1.set_visible(False)
However this removed the first…
I have a neural network trained with backpropagation algorithm. I also create data set (input and target) random. Now I want to plot a decision region where each region is marked with a red star or with a blue circle according to whether it belongs to class 1 or -1. I searched a lot but just find plotpc function that is for perceptron algorithm.…
I'm trying to plot out GPS data that is given to me in Hour Minute Second degree format. Will GLatLng take it in this form or do I need to convert it first. Having a hard time finding anything on the internet about this. If it can take it in this format an example would be much appreciated.
I need plot a curve for my data , the source is like :
12, 14, 18, 30, ....
I was using Qt Qwt, and need port it to windows forms, are there controls? free of charge?
Hi
I wonder when saving plot into image file in matlab, what is the difference between saveas and print? In what cases both can be used and in what cases only one can be used?
Thanks and regards!
hi,
i am using core plot framework,when i run following code in viewdidload gives crash.the view is as custom view...
graph = [(CPXYGraph *)[CPXYGraph alloc] initWithFrame:CGRectZero];
CPLayerHostingView *hostingView = (CPLayerHostingView *)self.view;
hostingView.hostedLayer = graph;**(gives error)**
what i have to do? any help please?
I am trying to set the X-Axis labels on a plot. I have a vector of times, these go down to the millisecond level. I have tried setting both XTick and XTickLabel properties but things are not working correctly (labels are not valid).
Any suggestions on what one needs to do to get datetick to work when working with times that go down to the…
I was thinking of an alternative to the barplot-with-error-bars plot. To get an idea by example, I roughly 'sketched' what I mean using the following code
library(plotrix)
plot(0:12,type="n",axes=FALSE)
gradient.rect(1,0,3,8,col=smoothColors("red",38,"red"),border=NA,gradient="y")
…
Hi,I have the code below. It load a CSV file into memory. This file contains the coordinates for different polygons.Each row of this file has X,Y coordinates and a string which tells that to which polygon this datapoint belongs. for example a polygone named "Poly1" with 100 data points…
I'm having a difficult time understanding the paradigm of Matlab classes vs compared to c++. I wrote code the other day, and I thought it should work. It did not... until I added
<handle
after the classdef.
So I have two classes, landmarks and robot, both are called from…
Hi,
I'm fairly new to ggplot. I have made a bumpplot using code posted below. I got the code from someones blog - i've lost the link....
I want to be able to increase the size of the lables (here letters which care very small on the left and right of the plot) without affecting…
I'm working on visualizing a matrix in R (almost exactly like http://reference.wolfram.com/mathematica/ref/MatrixPlot.html), and I've been using
image(<matrix>,axes=FALSE)
to draw the picture. However, I noticed that with the y-axis turned off, the plot isn't…
I've got the following simple script that plots a graph:
import matplotlib.pyplot as plt
import numpy as np
T = np.array([6, 7, 8, 9, 10, 11, 12])
power = np.array([1.53E+03, 5.92E+02, 2.04E+02, 7.24E+01, 2.72E+01, 1.10E+01, 4.70E+00])
plt.plot(T,power)
plt.show()
…
Hello all,
my problem is the GIL of course. While I'm analysing data it would be nice to present some plots in between (so it's not too boring waiting for results)
But the GIL prevents this (and this is bringing me to the point of asking myself if Python was such a…
I'm working on visualizing a matrix in R (almost exactly like http://reference.wolfram.com/mathematica/ref/MatrixPlot.html), and I've been using
image(<matrix>,axes=FALSE)
to draw the picture. However, I noticed that with the y-axis turned off, the plot…
I need to implement a simple plotting component in C#(WPF to be more precise). What i have is a collection of data samples containing time (X axis) and a value (both double types).
I have a drawing canvas of a fixed size (Width x Height) and a DrawLine…
I have written this innocent javascript code, which lets the user create two markers and plot the route between them. It doesnt work, instead, it gives a weird error:
Uncaught TypeError: Cannot read property 'ya' of undefined
Can someone suggest me…
I have no problem plotting the following cumulative frequency graph plot
like this.
library(Hmisc)
pre.test <- rnorm(100,50,10)
post.test <- rnorm(100,55,10)
x <- c(pre.test, post.test)
g <-…
I'm trying to change the font size of the title of an existing legend on a rose, or 'polar', plot. Most of the code was written by somebody else, who is away. I've added:-
ax.legend(title=legend_title)
setp(l.get_title(),…
I am trying to predict a binary GLM with multiple predictors. I can do it fine with one predictor variable however struggle when I use multiple
Sample data:
structure(list(attempt = structure(c(1L, 2L, 1L, 2L, 1L, 1L, …
I have a data.frame with 3 time series in it, shown below. When I plot them with a smoother time series, I want to be able to get the parameters of the linear model that I plot, but I can't see how to do that?
…
I am a bit confused on how to draw a bar graph for the following example:
x_lims = [1000,10000;10000,100000;100000,1000000;1000000,10000000;10000000,...
100000000;100000000,1000000000;1000000000,10000000000;...
…