×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to operate more than one paths?

How to operate more than one paths?

How to operate more than one paths?

(OP)
Hello everyone:
   We know that there is only one path can be operated at a time. How can I plot items of two paths on one graph?  

RE: How to operate more than one paths?

This is a very good question.  When trying to multi-plot say material properties Ansys seems to only let you plot one parameter at a time unlike when plotting entities.  Both the /GYTPE and /GRTYP commands in the documentation make mention of multiple graph plots so long as the x-axis for each remains the same.  I can't get it work work either.  Anyone else had past success trying to do this?

RE: How to operate more than one paths?


Hello,

my first thought is to set the display to "no redraw". But then you can not change the view and look at the plot from another direction...

Alex

RE: How to operate more than one paths?

(OP)
I thought it could be work like this: store the items' data in some arrays. And then plot them on the graph.But I don't know how. Is there anyone who knows a way?

RE: How to operate more than one paths?

Try writing the path data to an array using the PAGET command, then plotting the array using *VPLOT. You don't always get a nice plot from this, so you may need to adjust some of the plot settings. You can always write the array to a text file and then plot in excel using:

CODE

*CFOPEN,plot_file,txt
*VWRITE,<array variable 1>,<array variable 2>,<array variable 3>
%g %g %g
*CFCLOS

The "%g" is a generic write descriptor, see the help file for other types.


------------
See FAQ569-1083 for details on how to make best use of Eng-Tips.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources