-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey all,
I have 2 sets of data (Ax, Ay; Bx, By) - I'd like to plot both of these data sets on a scatter plot with different colors, but can't seem to get it to work because it seems scatter() does not work like plot(). Is it possible to do this?
I've tried...
scatter(Ax, Ay, 'g', Bx, By, 'b')
And
scatter(Ax…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I followed the example of simple plot in qwt examples to plot a curve. The axis and the graph appear in the Qt main window user interface but the curve not. I assigned values to fit the curve but the curve not appear. Any suggestions and help how to solve the problem? Here is my code
MainWindow::MainWindow(…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to plot y1 and y2 in the same plot.
x <- seq(-2, 2, 0.05)
y1 <- pnorm(x)
y2 <- pnorm(x,1,1)
plot(x,y1,type="l",col="red")
plot(x,y2,type="l",col="green")
But when I do it like this, they are not plotted in the same plot together.
In Matlab can one do hold on, but does anyone…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have to plot many lines in GNU PLOT.No problem with the X axis. The problem that I am facing is that most of the plotted lines are at yscale [0-0.05] ,few at range 60-70 and rest at 600-700. These numbers correspond to the y axis scale values. But after I plot I can see only 3 sets of lines all…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I would like to plot multiple, perhaps thousands of line segments on a single 2D plot in Mathematica. These line segments would be determined from an algorithm that would detected and save each segments endpoints. Once the algorithm has determined all the line segments within a finite 2D plot…
>>> More