Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to operate more than one paths?

Status
Not open for further replies.

Lirock

Mechanical
May 27, 2006
75
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?
 
Replies continue below

Recommended for you

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?
 

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
 
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?
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor