Dear all,
I am quite new to vensim, and am struggling with the following:
I have a variable whose values make sense only at set times (that is, when time = integer(time)), so I need to show only those values on a graph and then would like to interpolate between the showed points (so that the plot looks like a graph rather than a series of dots). Is there a function that I can use? I have attached a file showing the actual and the desired (to be shown) behaviour.
Thanks for your help,
Vittorio
show variable at set times
show variable at set times
- Attachments
-
- desired graph example.pdf
- (71.71 KiB) Downloaded 682 times
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
Thanks to you both for your help and for taking the time to do so!
I decided to use the if then else function with the :NA: and it does work (I thought I had tried this one and it was not returing any result, but clearly must have done something wrong there).
As I was attempting to find a way to fix the problem, I noticed that it is not actually possible to create a custom bar- graph through the control panel, and the only way to create one is through the vgd file as text - but then the manual was not too helpful, only a few commands are mentioned - . Is that true?
I decided to use the if then else function with the :NA: and it does work (I thought I had tried this one and it was not returing any result, but clearly must have done something wrong there).
As I was attempting to find a way to fix the problem, I noticed that it is not actually possible to create a custom bar- graph through the control panel, and the only way to create one is through the vgd file as text - but then the manual was not too helpful, only a few commands are mentioned - . Is that true?
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm