replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Issue with %pl 32 bit
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 

Issue with %pl 32 bit

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



Joined: 18 May 2012
Posts: 797
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Mon Mar 17, 2025 11:33 am    Post subject: Issue with %pl 32 bit Reply with quote

The following code generates the expected plot with the 64 bit compiler.

With the 32 bit compiler, numbers next to the y axis ticks which should be 10 to the -2, -3, and -4 are all shown as 0.

Code:
program p
use clrwin
implicit none
integer, parameter :: n = 12
real*8 :: x(n), y(n)
integer :: i, iw
do i = 1, n
  x(i) = i+4
  y(i) = 10.d0**(i-6)
end do
iw = winio@('%fn[Arial]%bf%ts&',1.5d0)
call winop@('%pl[native,n_graphs=1]')
call winop@('%pl[frame,gridlines,width=2,colour=red,yaxis=@,xaxis=@]')
call winop@('%pl[y_sigfigs=1,x_min=5,x_max=20,dx=5,y_max=1000000]')
iw = winio@('%pl[x_array,scale=log_linear]', 800,600,n,x,y)
end program p


I discovered this issue as I was going to suggest that %pl[y_sigfigs=1] may assist Dan with his most recent query.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8165
Location: Salford, UK

PostPosted: Mon Mar 17, 2025 4:13 pm    Post subject: Reply with quote

Thanks Ken. I have made a note of this.
Back to top
View user's profile Send private message AIM Address
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