Comments (1)
What do you mean?
if you mean to have an open window and add more plots interactively, no, ogpf does not support this!
Actually gnuplot does not support this! and every plot clear the previous one!
How ogpf works?
ogpf works in a semi interactive mode. It writes all data and commands into a gnuplot file and then calls the gnuplot through a system command! So before you have the plot command you should write all your data into a file!
How to have several plots in the same window?
Solution 1. ogpf plot command can plot up to four series of data, if you you have four or less data, prepare all them and issue the plot command at the end!
Solution 2. If you want to replot in the same window, because your data are available at several stage of problem solution, then plot each data series is available and then when other data available replot them
e.g
call gp%plot(x1=x, y1=y)
! later on you have more data
..
call gp%plot(x1=x, y1=y, x2=xx, y2=yy)
! later on you have two more data series
call gp%plot(x1=x, y1=y, x2=xx, y2=yy, x3=xxx, y3=yyy, x4=xiv, y4=yiv))
Solution 3. If your data have the same length (number) then as you get more data for ploting add them to a matrix and plot a matrix.vs.matrix
Summary:
If you want to plot more data in the same window, it is possible in a semi interactive mode.
If you want something like "hold on" in Matlab, this version does not support.
A new version of ogpf is under the way which is much more complicated and it has support for hold on!
from ogpf.
Related Issues (20)
- 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
- add optional wait = .false. to call execute_command_line ('wgnuplot -persist ' // this%txtfilename) HOT 13
- 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.