×
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

Problem when plotting graph in V12

Problem when plotting graph in V12

Problem when plotting graph in V12

(OP)
Hi all,

Has anyone experienced problems plotting graphs with Ansys V12 (APDL)? I am creating a short table (2 col, 4 rows) and want to plot one column as function of the other. The following code works fine with V11, but with V12 only the name of the table and the title of my graph are appearing. The rest of the window remains black. Any idea? I looked in the HELP for a note regarding graphs plotting in V12, but everything seems to be the same as in V11. Thanks in advance...
-----------------
/CLEAR
FINISH
/REP

*DIM,hello,TABLE,4,2

*DO,i,1,4
    hello(i,1) = i
    hello(i,2) = i*10
*ENDDO

/GTYPE,1,GRPH,1
/GCMD,1,*VPLOT,hello(1,1),hello(1,2)
/AXLAB,X,Displacement (mm)        ! Title X-axis
/AXLAB,Y,Force (N)            ! Title Y-axis
/GCOLUMN,1,'Force-displacement'        ! Name of curve 1
GPLOT
-----------------

RE: Problem when plotting graph in V12

Starting at *DIM, I tried the commands in both 12.0 and 12.1 and the plots were OK.  I'm running on a PC -- maybe your problem is platform-dependent?

RE: Problem when plotting graph in V12

(OP)
Kan, you are right: it works on another PC... I am going to investigate. Thank you for your input!

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