I've been using matplotlib in a Python project. It is great.
I have now to plot data in a C++ project. Is anyone aware of a plotting library in C or C++?
Note that I cannot accept GPL licensed libraries.
Can either Bing or Google Maps allow you to pass in a collection of points and then interrogate that collection to only plot the X nearest points?
I am asking because it may be difficult to pre-filter this data and would be much simpler to supply the entire list and filter it within the API itself.
Is it possible to plot two curves, with two corresponding axes in gnuplot, each of which has a different scale.
For example, y=x*2. and y=x*4. in the same graph (they vary enough for them to be "uncomfortable" placed with the same scale) ?
is it possible to easily and dynamically decorate an object?
for example, lets say I have a List<PointF>. this list is actually a plot of the sine function. I'd like to go through these points and add a flag to each PointF of whether it's a peak or not.
but I don't want to create a new extended SpecialPointF or whatever, that has a boolean property.
judge me all you want for being lazy, but laziness is how awesome ideas are born (also bad ideas)
I have a embedded chart and I want to modify the behavior on the mouseDown event but only when it occurs on a dataSeries (xlSeries). But for all other elements (axis, plot area, gridline, etc), I want it to fall back on the default mouseDown behavior. Is this possible?
Thanks.
I am using matlab for cluster visualization. I want to somehow get the color of my current cluster center fill in the plot and draw line of same color to cluster members. How can I get the color?
So I've read the two related questions for calculating a trend line for a graph, but I'm still lost.
I have an array of xy coordinates, and I want to come up with another array of xy coordinates (can be fewer coordinates) that represent a logarithmic trend line using PHP.
I'm passing these arrays to javascript to plot graphs on the client side.
1) Besides the negative frequencies, which is the minimum frequency provided by the FFT function? Is it zero?
2) If it is zero how do we plot zero on a logarithmic scale?
3) The result is always symmetrical? Or it just appears to be symmetrical?
4) If I use abs(fft(y)) to compare 2 signals, may I lose some accuracy?
I have the second order differential equation
d^2(y(t))/dt^2+ B1*d(y(t))/dt+ c1*y(t)=A1*x(t)
t is in seconds and is greater than 0.
A1, B1, C1 are constants that equal:
A1= 3.8469x10^6
B1= 325.6907
C1= 3.8469x10^6
This system is linear, time-invariant, and casual. The system is called H1.
I want to use Matlab to compute and plot the impulse response function h1(t) and the unit step response function g1(t) of this system.
The pyplot plot_date function expects pairs of dates and values to be plotted with a certain line style. Is there a recommended approach to plot multiple values or interval data against date/time values?
Having installed canvas from here http://www.rforge.net/canvas/files/
I try to plot:
> canvas('test.js')
> qplot(rnorm(100), geom='histogram')
stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this.
Error in grid.Call.graphics("L_setviewport", pvp, TRUE) :
Non-finite location and/or size for viewport
>
Hello,
in my app I have 49 points with x,y and I wnat to display them on the screen. I've seen a lot of library that can help me (core plot, s7graphview, etc.). But since I'm doing very basic stuff (just draw points), what is the simplest way do to that ?
Thanks !
A project that involves image processing, i.e. to calculate the angular shift of the same image when shifted by a medium of certain Refractive Index. We have to build an app that correlates the 2 images (phase/2D correlation?) and then plot using Chaco and Mayavi (2 libraries in Python).
Is there any other existing template software (FOSS) that we can base our app on, or use it as a reference?
I'm using the newest chart control from silverlight toolkit to plot some data. For small cases it works ok, but for bigger samples the X axis labels overlap. It would be no problem if the chart would simply omit some of the values or I could specify to just show every 10th of them ...
I couldn't find any properties providing this behavior. Any ideas?
0
Hi, i am using Core-plot . but when i declare the normal UIView as CPLayerHostingView,how can i handle drawRect of that view , i cant give another custom UIview name and write code in drawRect of that view?please any help to handle drawRect of CPLayerHostingView?
Is it possible to have a datetime scale not consider weekends as part of the time continuum? For instance, if I am plotting stock prices over a 2 week period with a line geometry, I do not want to plot a 2 day period of flattness during the weekend. I would like friday to connect with Monday.
hello.
my m file is:
x=0:0.01:2*pi;
y=sin(x);
plot(x,y)
I want build this program by .exe format.
i want run this .exe in a computer that dosen't has matlab.
can you help me?
I'm not sure if that's the right terminology.
I've entered some data into R, and I've put a smoothingSpline through it using the following command.
smoothingSpline = smooth.spline(year, rate, spar=0.35)
plot(x,y)
lines(smoothingSpline)
Now I'd like to measure some limits (or where the curve is at a given y point), and maybe to some predictive analysis on points that extend beyond the graph.
Are there commands in R for doing this?
How can I add a newline to a plot's label (e.g. xlabel or ylabel) in Matplotlib? For example,
plt.bar([1, 2], [4, 5])
plt.xlabel("My x label")
plt.ylabel(r"My long label with $\Sigma_{C}$ math \n continues here")
Ideally i'd like the y-labeled to be centered too. Is there a way to do this? It's important that the label have both tex (enclosed in '$') and the newline.
thanks.
Is there a way to determine if a function generates a figure in R?
For example, if we have functions f and g
f = function(x,y){plot(x,y)}
g = function(x,y){mean(x*y)}
I would like able to run
createFigure(f(x,y))#Returns TRUE
createFigure(g(x,y))#Returns FALSE
Thanks
A project that involves image processing, i.e. to calculate the angular shift of the same image when shifted by a medium of certain Refractive Index. We have to build an app that correlates the 2 images (phase/2D correlation?) and then plot using Chaco and Mayavi (2 libraries in Python).
Is there any other existing template software (FOSS) that we can base our app on, or use it as a reference?
I'm sure this is an incredibly simple question but I've recently started using Mathematica so it's all new to me. How do you scale the y axis? I try the following but it won't compile.
Plot[y = {Exp[-(x^2+3x+2)]}, {x, 0, 5}, {y, 0, 1}]
I've been using matplotlib in a Python project. It is great.
I have now to plot data in a C++ project. Is anyone aware of a plotting library in C or C++?
Note that I cannot accept GPL licensed libraries.