PhreeqcUsers Discussion Forum
Click here to donate to keep PhreeqcUsers open

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Beginners »
  • PHREEQC basics »
  • USER_GRAPH
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: USER_GRAPH  (Read 110 times)

ani.dol

  • Contributor
  • Posts: 2
USER_GRAPH
« on: November 05, 2022, 02:12:06 AM »
Hello everyone!

I'm very new to PHREEQC and I'm trying to understand how to make a graph.

When I use USER_GRAPH and I RUN the simulation, where can I find the graph? Is it going to appear on the screen or should I look for it somewhere else??

I know this is a very silly question...hopefully, I will get better and be able to ask more advanced questions with time!!

Thank you for any help provided!!! I really appreciate it.
Logged

dlparkhurst

  • Top Contributor
  • Posts: 2736
Re: USER_GRAPH
« Reply #1 on: November 05, 2022, 03:10:47 PM »
The graph should appear on the screen.

If you are not getting the graph you expect, I can think of a few reasons.

(1) You have an error in the script. You will find an ERROR message in the output file.

(2) The sequence of the output file is wrong. USER_GRAPH must be defined with or before the definitions of the calculation. If you define a calculation, followed by an END, and then define USER_GRAPH, no graph will appear. USER_GRAPH must be defined before the END.

(3) Normally, I expect you are using the interactive version PhreeqcI, but if you are using a batch version of the program, one version does not include the graphing capabilities. The current PHREEQC batch versions are usually installed in the directory C:\Program Files\USGS\phreeqc-3.7.3-15968-x64\. Two executables are installed in the subdirectory bin--one in the directory Release and one in ClrRelease. The Release version does not have graphing; any USER_GRAPH definitions are simply ignored. The ClrRelease version does have graphing.

(4) There is a -batch option in USER_GRAPH, if you include this option, then the graphs go to a file instead of the screen.

« Last Edit: November 05, 2022, 03:21:11 PM by dlparkhurst »
Logged

ani.dol

  • Contributor
  • Posts: 2
Re: USER_GRAPH
« Reply #2 on: November 08, 2022, 12:28:41 PM »
Thank you so much for the reply!!

It has been very helpful!! I've been able to work a bit more with PHREEQC and explore its' functions. Many thanks!!

I'm sure I will be asking more questions eventually :)

Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Beginners »
  • PHREEQC basics »
  • USER_GRAPH
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2