2 curves on the same image Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » 2 curves on the same image « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Bérenger (bergie)
New member
Username: bergie

Post Number: 1
Registered: 07-2007
Posted on Tuesday, July 24, 2007 - 10:37 am:   

Hello everybody, I'm a FlexPDE newcomer and I have a question about the curves obtained from "elevation"

Is it possible to have two curves on the same graphic instead of having two separates images with curves ?

I mean, instead of :
elevation(phi) from (0,h) to (b,h)
elevation(phi) from (0,0) to (b,0)

something like :
elevation(phi) from (0,h) to (b,h) and from (0,0) to (b,0) (does not work !)

Thank you for your answer
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 912
Registered: 06-2003
Posted on Tuesday, July 24, 2007 - 06:06 pm:   

You can plot multiple values on a single base path, but you cannot merge multiple base paths on the same plot.

However, you can fake it by writing
elevation(phi,EVAL(phi,x,h)) from (0,0) to (b,0)

The EVAL function will report phi at the current x coordinate along the trace and at a y value of h instead of zero.

This will not show a trace on the domain map, but it will generate the data you want.



Top of pagePrevious messageNext messageBottom of page Link to this message

Bérenger (bergie)
New member
Username: bergie

Post Number: 2
Registered: 07-2007
Posted on Wednesday, July 25, 2007 - 01:43 am:   

Ok thank you for the hint, I will try it as soon as I can.

Have a nice day

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration