Git Product home page Git Product logo

Comments (7)

kookma avatar kookma commented on June 12, 2024

I think it is can be improved! The bad news is I have not touch ogpf for a year and so!
So, I welcome ant contribution! the only restriction is to keep ogpf simple! It is important to be able to maintain it by potential users!

Question: You submitted a PR here #19
I raised a question, please have a look and lets finalize that PR!

from ogpf.

Ily83 avatar Ily83 commented on June 12, 2024

What question did you raise? it says "This branch has no conflicts with the base branch
Only those with write access to this repository can merge pull requests."

Sorry i'm not used to github yet.

I will see if i can make it work for multiplot animation. #

from ogpf.

kookma avatar kookma commented on June 12, 2024

Open the PR
Click view changes: https://github.com/kookma/ogpf/pull/19/files/abd5d4884d12017cf67bbe74b89add547cd2769c
and see the question:

Is there any reason for F11.2? Why not F5.2?

from ogpf.

Ily83 avatar Ily83 commented on June 12, 2024

I see. It was just on a whim because in case someone decided to choose 10 seconds, it doesn't work with F5.2.
On my PC, ‘write(,'(a, f5.3)') 'pause: ', pause' when pause is equal to 10.5 return "***" while with F11.2, it returns "10.50"

from ogpf.

kookma avatar kookma commented on June 12, 2024

‘write(,'(a, f5.3)') 'pause: ', pause' when pause is equal to 10.5 return "***"

Testing on GNU Fortran 10.0

program hello
    implicit none
    integer:: i
    real, dimension(:), allocatable :: x

    x = [1.40, 11.25, 35.8478, 99.99, 100.36 ]

    do i=1, 5
        write(*,'(a, f5.2)') 'pause: ', x(i)
    enddo

end program

produces:

pause:  1.40
pause: 11.25
pause: 35.85
pause: 99.99
pause: *****

Process returned 0 (0x0)   execution time : 0.016 s
Press any key to continue.

I just think to use some meaningful value and format!

from ogpf.

Ily83 avatar Ily83 commented on June 12, 2024

I changed it to F5.2

from ogpf.

kookma avatar kookma commented on June 12, 2024

Thank you! I think 99.99 around 1.5 minutes!

from ogpf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.