forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I have a problem about x,y axis,please help me

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
evren



Joined: 09 Apr 2013
Posts: 2

PostPosted: Tue Apr 09, 2013 11:13 pm    Post subject: I have a problem about x,y axis,please help me Reply with quote

c--Simple1.for
WINAPP
INTEGER N,winio@,i,k
PARAMETER(N=3Cool
REAL*8 x(N),y(N)
real,dimension(3Cool::der

c--Create the data to be plotted.
k=0
DO i= -180,180,10
k=k+1
der(k)=(i*3.1415962)/180
x(k)=i
y(k)=SIN(der(k))
END DO

c--Plot the data.
i=winio@('%ca[evren]%bg[blue]&')
i=winio@('%pl[x_array]&',700,700,N,x,y)
i=winio@('%ff%cn%tt[OK]')

END[/quote][/code]
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2813
Location: South Pole, Antarctica

PostPosted: Wed Apr 10, 2013 1:04 am    Post subject: Reply with quote

Tic marks are wrongly positioned? That's a known bug
Take the full version of Simplelot for which follow this link

http://forums.silverfrost.com/viewtopic.php?t=2499

Compile your program: FTN95 yourprogram.f95
SLINK yourprogram.obj SIMPLE.DLL

Before linking copy simple.dll from main ftn95 dir to your working one if SLINK does not find it
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group