How to draw x=y line in OriginPro - scatter-plot

Does anyone know how to draw an exact x=y line in OriginPro scatter plot? I already looked into the Internet and OriginPro forums with no exact solution. Many thanks in advance.

Try this:
Firstly make a column of numbers in Excel (...,-3,-2,-1,0,1,2,3,4,5,...), copy that. Then create a new Book in Origin, paste it in 2 columns: (X) and (Y). After highlight theese 2 columns with your cursor and go to Plot -> Line. That's it.

Related

seaborn unknown line on barchart

Below in the picture their is a brown barplot and on that plot their is a dark brown small line at the end.
Its not possible to post the exact code because its many thousands of line. So my question is what parameter could be coursing this?
Thank you
You have several values corresponding to the category f which are averaged together and the bar is the 95%CI around that mean.
If you want to hide the CI, pass ci=None to barplot()

Looking to find text columnar position verification tool. Does one exist?

I am working on creating text based data feed files that have fixed column widths. Example: Position 1-5 is record layout ID, position 6-35 is part number, position 36-70 is description, etc.
I wish there were a tool I could provide these data input widths, then paste in the raw text to visually see where it lines up. Conceptually, this would seem to be a pretty simple tool.
Do you know of any solutions or creative ideas?
Thanks!
Use https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr
Layout Id would be str.substr(1, 5)
Part number would be str.substr(6, 35)
etc.

How to create a log log plot

I'm doing algorithm analysis and would like to create a log log plot in Excel/Google docs or anywhere that's good. I've tried in Excel but can't seem to get it to work, and can't seem to find help material for this anywhere, does anyone here know how to get this done?
Just in case you don't have access to a search engine...using excel...
Select your data
Insert it in a plot (for example a scatter plot)
Right click the plot axes and select 'Format Axis'
Check the Logarithm Scale tick box

Animating XY Line in TecPlot

I'm an environmental engineer using TecPlot to plot come charts with some input data, let me explain my problem.
I'm studying the evolution of a river bed with a Fortran code which I wrote. As a output the code gives a detailed stratigraphy going some centimeters under the soils surface. Basically the output file looks like this:
0.03500000000 -0.18093000000 -0.17093000000 -0.16093000000 -0.15093000000 ...
0.10500000000 -0.18100000000 -0.17100000000 -0.16100000000 -0.15100000000 ...
0.17500000000 -0.18107000000 -0.17107000000 -0.16107000000 -0.15107000000 ...
0.24500000000 ...
and so on.
The first column is the x variable (horizontal evolution) and has 200 data.
The other columns are the evolution on the vertical coordinate.
So basically for each line we have, starting from the second colon, an horizontal line drawn thanks to 400 values.
For example if I plot the entire first column with the entire first row what I get is just a line on the plot.
For each time step my Fortran code create an output file which gives a plot with all the substrate lines.
What I want to do, and I really don't know how to do it, is animating this plots in order to have, for each time step of the animation, the ENTIRE plot with ALL THE LINES.
What I've done in TecPlot so far is:
1) import all the output files
2) put them in the XY Line plot of TecPlot using one zone for each output file I have (file 1 -> 1:ZONE001, file 2 -> 2:ZONE001, file 3 -> 3:ZONE001 and so on)
3) trying to turn them into contour plot (no results)
3.2) trying to animate them with XY Line plot animation (too bad, it animates every single line...)
I hope that I've been enough thorough to let you helping me.
I would appreciate each contribution and I thank You for each -even short, small- answer.
Best regards
Assuming you have already loaded the file, and have multiple zones. you can animate the mappings by Animate -> Mappings.., As far as
trying to animate them with XY Line plot animation (too bad, it animates every single line...)
is concerned, you need Map Skip value more than 1, to skip the mappings (lines). The animation can be saved as video or image sequences from the same dialogue box, by pressing the small video button besides the play rewind and forward buttons enter image description here

How do you draw a line dynamically in vb6?

I'm trying to get data from a database in order to draw a line on a vb6 form. I was looking at this site, but I'm not even a beginner in vb6, and I really couldn't follow it.
If anyone has any suggestion, even if it's just about drawing a line in vb6 (not dynamically), I'd appreciate it. Thanks!
Here's one way you dynamically draw a line:
Me.Line (x1, y1)-(x2, y2)
Basically, this allows to to draw a straight line from one co-ordinate to another; for example:
Me.Line (10, 10)-(1000, 1000)
You could just replace these values with values from the DB.

Resources