Comments (13)
from ogpf.
Hi @CRquantum
Thank you! I think this should be possible. I keep this open to find free time to give it a try!
If worked successfully I add it.
from ogpf.
Great thank you! Again nice package!
from ogpf.
from ogpf.
Oh, another question. Is there a way to show the plot in real time?
I mean like, just in the same windows, show (x(1),y(1)), (x(2),y(2)),...(x(10),y(10)) as x(i) and y(i) are generated in the loop?
Like
do i=1,10
x(i) = xxxxx
y(i) = yyyyy
-> here, you know, plot(x(1:i), y(1:i)) in just only one popup windows, and display and update (x(1:i), y(1:i)) in real time.
enddo
Thank you very much! This real time display/updating in just one windows will be really very useful bro! LOL!
from ogpf.
I mean I noticed the animation function, but it seems it need to wait until the whole x and y loop finished, then in one window, it can display y vs x as animation. But I wonder is it possible show y .vs. x animation during the loop, and in the same popup window. Thank you very much!
from ogpf.
Oh, another question. Is there a way to show the plot in real time?
I mean like, just in the same windows, show (x(1),y(1)), (x(2),y(2)),...(x(10),y(10)) as x(i) and y(i) are generated in the loop?
The ogpf is wrapper around gnuplot! So everything is supported by gnuplot is supported by ogpf. You should not ogpf work in asynchronous way! It has to write everything in a file and then plot so, before start plotting you should have all those data to be plotted!
If you update the data, then you have to create a new output!
from ogpf.
Thank you my man!
Please see the discussion here,
https://fortran-lang.discourse.group/t/how-to-use-fortran-gnuplot-to-plot-in-real-time-in-just-one-window/2904/11
I added at the end of your scipt
pause 1
reread
Now it can display the changes in the plot in real time.
If in the future you may add this property it could be very nice :) Sometimes the display in real time can be very useful.
from ogpf.
Thank you @CRquantum
I will look into it! It would be nice to have this feature!
from ogpf.
Thank you bro. Yeah it can work it will be really very useful :)
from ogpf.
@CRquantum
I would appreciate to submit a PR when you have time. I am very busy and I forgot about this.
from ogpf.
from ogpf.
A PR is a pull request, that means you can form the repo, change the code and push it for merging!
Then others can review your change and if approved merge into the repository!
In final you have the revised/improved code!
from ogpf.
Related Issues (20)
- Errorbars HOT 1
- Is there a way to plot 2d heatmap? HOT 3
- The example fails on macOS HOT 16
- [gnuplot in windows 10] the command 'gnuplot -persist' will make the cpu fully loaded HOT 2
- Animation Pause HOT 1
- Question HOT 7
- Question HOT 2
- Plotting points with color scale HOT 1
- Is it possible to add options after calling a plot subroutine? HOT 2
- Use data blocks to in-line data in the script HOT 4
- Is that possible to use that in Visual Studio IDE using intel compiler? HOT 2
- The documentation websit elink is broken. HOT 2
- Failing Examples HOT 4
- Debug ogpf and its demo in cbfortran. HOT 3
- Set output terminal from the Fortran API HOT 12
- Possibility of using custom palette HOT 9
- unused variables HOT 2
- typo HOT 1
- use real(x, kind=wp) instead of dble(x) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ogpf.