File: sfstubs.f90

package info (click to toggle)
plplot 5.10.0%2Bdfsg2-0.4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 25,792 kB
  • ctags: 13,517
  • sloc: ansic: 83,001; xml: 27,081; ada: 18,878; cpp: 15,966; tcl: 11,651; python: 7,075; f90: 7,058; ml: 6,974; java: 6,665; perl: 5,029; sh: 2,208; makefile: 210; lisp: 75; sed: 25; fortran: 7
file content (905 lines) | stat: -rw-r--r-- 24,661 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
!***********************************************************************
!  $Id: sfstubs.f90 12836 2013-12-09 19:33:53Z arjenmarkus $
!  sfstubs.f
!
!  Copyright (C) 2004  Alan W. Irwin
!
!  This file is part of PLplot.
!
!  PLplot is free software; you can redistribute it and/or modify
!  it under the terms of the GNU Library General Public License as published
!  by the Free Software Foundation; either version 2 of the License, or
!  (at your option) any later version.
!
!  PLplot is distributed in the hope that it will be useful,
!  but WITHOUT ANY WARRANTY; without even the implied warranty of
!  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
!  GNU Library General Public License for more details.
!
!  You should have received a copy of the GNU Library General Public License
!  along with PLplot; if not, write to the Free Software
!  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
!
!
!  This file contains the more complicated fortran stub routines
!  that the more generic scstubs.c cannot handle.
!  Typical stubs here must convert a fortran character string
!  to C or vice versa.
!  N.B. the called routines (that are defined in scstubs.c) have
!  a suffix of '7' to avoid name clashes and also presumably as a
!  signal in scstubs.c that they were called from these routines.
!  Where arguments are floating-point we explicitly type them as real(kind=plflt).
!  This typing is never used since these arguments are
!  actually passed by reference.  That implies these routines should
!  work if the calling routine and libplplot itself are both
!  double precision or both single precision.
!
!***********************************************************************

      subroutine plsetopt(opt, optarg)

      implicit none
      character*(*) opt, optarg

      call plstrf2c(opt, string1)
      call plstrf2c(optarg, string2)
      s1 = transfer( string1, s1 )
      s2 = transfer( string2, s2 )
      call plsetopt7(s1, s2)

      end subroutine

!***********************************************************************

      subroutine plabort(text)

      implicit none
      character*(*) text

      call plstrf2c(text, string1)
      s1 = transfer( string1, s1 )
      call plabort7(s1)

      end subroutine

!***********************************************************************

      subroutine plsdev(dnam)

      implicit none
      character*(*) dnam

      call plstrf2c(dnam, string1)
      s1 = transfer( string1, s1 )
      call plsdev7(s1)

      end subroutine

!***********************************************************************

      subroutine plgdev(dnam)

      implicit none
      character*(*) dnam

      call plgdev7(string1)
      call plstrc2f(string1, dnam)

      end subroutine

!***********************************************************************

      subroutine plsfnam(fnam)

      implicit none
      character*(*) fnam

      call plstrf2c(fnam, string1)
      s1 = transfer( string1, s1 )
      call plsfnam7(s1)

      end subroutine

!***********************************************************************

      subroutine plgfnam(fnam)

      implicit none
      character*(*) fnam

      call plgfnam7(string1)
      call plstrc2f(string1, fnam)

      end subroutine

!***********************************************************************

      subroutine plgver(ver)

      implicit none
      character*(*) ver

      call plgver7(s1)
      string1 = transfer( s1, string1 )
      call plstrc2f(string1, ver)

      end subroutine

!***********************************************************************

      subroutine plaxes(x0,y0,xopt,xtick,nxsub,yopt,ytick,nysub)

      implicit none
      real(kind=plflt) x0, y0, xtick, ytick
      integer nxsub, nysub
      character*(*) xopt,yopt

      call plstrf2c(xopt, string1)
      call plstrf2c(yopt, string2)

      s1 = transfer( string1, s1 )
      s2 = transfer( string2, s2 )
      call plaxes7(x0,y0,s1,xtick,nxsub,s2,ytick,nysub)

      end subroutine

!***********************************************************************

      subroutine plbox(xopt,xtick,nxsub,yopt,ytick,nysub)

      implicit none
      real(kind=plflt) xtick, ytick
      integer nxsub, nysub
      character*(*) xopt,yopt

      call plstrf2c(xopt, string1)
      call plstrf2c(yopt, string2)

      s1 = transfer( string1, s1 )
      s2 = transfer( string2, s2 )
      call plbox7(s1,xtick,nxsub,s2,ytick,nysub)

      end subroutine

!***********************************************************************

      subroutine plbox3(xopt,xlabel,xtick,nxsub,yopt,ylabel,ytick,nysub, &
       zopt,zlabel,ztick,nzsub)

      implicit none
      real(kind=plflt) xtick, ytick, ztick
      character*(*) xopt,xlabel,yopt,ylabel,zopt,zlabel
      integer nxsub, nysub, nzsub

      call plstrf2c(xopt, string1)
      call plstrf2c(xlabel, string2)
      call plstrf2c(yopt, string3)
      call plstrf2c(ylabel, string4)
      call plstrf2c(zopt, string5)
      call plstrf2c(zlabel, string6)

      s1 = transfer( string1, s1 )
      s2 = transfer( string2, s2 )
      s3 = transfer( string3, s3 )
      s4 = transfer( string4, s4 )
      s5 = transfer( string5, s5 )
      s6 = transfer( string6, s6 )
      call plbox37(s1,s2,xtick,nxsub, &
        s3,s4,ytick,nysub, &
        s5,s6,ztick,nzsub)

      end subroutine

!***********************************************************************

      subroutine plcontour_0(z,kx,lx,ky,ly,clevel)

      implicit none
      integer kx, lx, ky, ly
      real(kind=plflt) z(:,:), clevel(:)

      call plcon07(z,size(z,1),size(z,2),kx,lx,ky,ly,clevel,size(clevel))

      end subroutine

!***********************************************************************

      subroutine plcontour_1(z,kx,lx,ky,ly,clevel,xg,yg)

      implicit none
      integer kx, lx, ky, ly
      real(kind=plflt) z(:,:), xg(:), yg(:), clevel(:)

      call plcon17(z,size(z,1),size(z,2),kx,lx,ky,ly,clevel,size(clevel),xg,yg)

      end subroutine

!***********************************************************************

      subroutine plcontour_2(z,kx,lx,ky,ly,clevel,xg,yg)

      implicit none
      integer kx, lx, ky, ly
      real(kind=plflt) z(:,:), xg(:,:), yg(:,:), clevel(:)

      call plcon27(z,size(z,1),size(z,2),kx,lx,ky,ly,clevel,size(clevel),xg,yg)

      end subroutine

!***********************************************************************

      subroutine plcontour_tr(z,kx,lx,ky,ly,clevel,tr)

      implicit none
      integer kx, lx, ky, ly
      real(kind=plflt) z(:,:), clevel(:)
      real(kind=plflt) tr(6)

      call plcont7(z,size(z,1),size(z,2),kx,lx,ky,ly,clevel,size(clevel),tr)

      end subroutine

!***********************************************************************

      subroutine plcontour_0_all(z,clevel)

      implicit none
      integer kx, lx, ky, ly
      real(kind=plflt) z(:,:), clevel(:)

      kx = 1
      lx = size(z,1)
      ky = 1
      ly = size(z,2)
      call plcon07(z,size(z,1),size(z,2),kx,lx,ky,ly,clevel,size(clevel))

      end subroutine

!***********************************************************************

      subroutine plcontour_1_all(z,clevel,xg,yg)

      implicit none
      integer kx, lx, ky, ly
      real(kind=plflt) z(:,:), xg(:), yg(:), clevel(:)

      kx = 1
      lx = size(z,1)
      ky = 1
      ly = size(z,2)
      call plcon17(z,size(z,1),size(z,2),kx,lx,ky,ly,clevel,size(clevel),xg,yg)

      end subroutine

!***********************************************************************

      subroutine plcontour_2_all(z,clevel,xg,yg)

      implicit none
      integer kx, lx, ky, ly
      real(kind=plflt) z(:,:), xg(:,:), yg(:,:), clevel(:)

      kx = 1
      lx = size(z,1)
      ky = 1
      ly = size(z,2)
      call plcon27(z,size(z,1),size(z,2),kx,lx,ky,ly,clevel,size(clevel),xg,yg)

      end subroutine

!***********************************************************************

      subroutine plcontour_tr_all(z,clevel,tr)

      implicit none
      integer kx, lx, ky, ly
      real(kind=plflt) z(:,:), clevel(:)
      real(kind=plflt) tr(6)

      kx = 1
      lx = size(z,1)
      ky = 1
      ly = size(z,2)
      call plcont7(z,size(z,1),size(z,2),kx,lx,ky,ly,clevel,size(clevel),tr)

      end subroutine

!***********************************************************************

      subroutine plstring(x,y,string)

      implicit none
      real(kind=plflt) x(:), y(:)
      character(len=*) string

      integer n

      n = size(x)

      call plstrf2c(string, string1)
      s1 = transfer( string1, s1 )
      call plstring7(n,x,y,s1)

      end subroutine

!***********************************************************************

      subroutine plstring3(x,y,z,string)

      implicit none
      real(kind=plflt) x(:), y(:), z(:)
      character(len=*) string

      integer n

      n = size(x)

      call plstrf2c(string, string1)
      s1 = transfer( string1, s1 )
      call plstring37(n,x,y,z,s1)

      end subroutine

!***********************************************************************

      subroutine plvectors_0(u, v, scale)

      implicit none
      real(kind=plflt) u(:,:), v(:,:), scale

      call plvec07(u,v,size(u,1),size(u,2),scale)

      end subroutine

!***********************************************************************

      subroutine plvectors_1(u, v, scale, xg, yg)

      implicit none
      real(kind=plflt) u(:,:), v(:,:), xg(:), yg(:), scale

      call plvec17(u,v,size(u,1),size(u,2),scale,xg,yg)

      end subroutine

!***********************************************************************

      subroutine plvectors_2(u, v, scale, xg, yg)

      implicit none
      real(kind=plflt) u(:,:), v(:,:), xg(:,:), yg(:,:), &
                       scale

      call plvec27(u,v,size(u,1),size(u,2),scale,xg,yg)

      end subroutine

!***********************************************************************

      subroutine plvectors_tr(u, v, scale, tr)

      implicit none
      real(kind=plflt) u(:,:), v(:,:), scale
      real(kind=plflt) tr(6)

      call plvect7(u,v,size(u,1),size(u,2),scale,tr)

      end subroutine

!***********************************************************************

      subroutine plshade_single_0(z, defined, &
        xmin, xmax, ymin, ymax, &
        shade_min, shade_max, &
        sh_cmap, sh_color, sh_width, &
        min_color, min_width, max_color, max_width)

      implicit none
      character defined*(*)
      integer sh_cmap
      integer min_color, max_color
      real(kind=plflt) sh_width, min_width, max_width
      real(kind=plflt) shade_min, shade_max, sh_color
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax

!	call plstrf2c(dnam, string1)

      s1 = transfer( string1, s1 )
      call plshade07(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        shade_min, shade_max, &
        sh_cmap, sh_color, sh_width, &
        min_color, min_width, max_color, max_width, size(z,1))

      end subroutine

!***********************************************************************

      subroutine plshade_single_1(z, defined, &
        xmin, xmax, ymin, ymax, &
        shade_min, shade_max, &
        sh_cmap, sh_color, sh_width, &
        min_color, min_width, max_color, max_width, &
        xg, yg )

      implicit none
      character defined*(*)
      integer sh_cmap
      integer min_color, max_color
      real(kind=plflt) sh_width, min_width, max_width
      real(kind=plflt) shade_min, shade_max, sh_color
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax, xg(:), yg(:)

!	call plstrf2c(dnam, string1)

      s1 = transfer( string1, s1 )
      call plshade17(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        shade_min, shade_max, &
        sh_cmap, sh_color, sh_width, &
        min_color, min_width, max_color, max_width, &
        xg, yg, size(z,1))

      end subroutine

!***********************************************************************

      subroutine plshade_single_2(z, defined, &
        xmin, xmax, ymin, ymax, &
        shade_min, shade_max, &
        sh_cmap, sh_color, sh_width, &
        min_color, min_width, max_color, max_width, &
        xg, yg )

      implicit none
      character defined*(*)
      integer sh_cmap
      integer min_color, max_color
      real(kind=plflt) sh_width, min_width, max_width
      real(kind=plflt) shade_min, shade_max, sh_color
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax, xg(:,:), yg(:,:)

!	call plstrf2c(dnam, string1)

      s1 = transfer( string1, s1 )
      call plshade27(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        shade_min, shade_max, &
        sh_cmap, sh_color, sh_width, &
        min_color, min_width, max_color, max_width, &
        xg, yg, size(z,1) )

      end subroutine

!***********************************************************************

      subroutine plshade_single_tr(z, defined, &
        xmin, xmax, ymin, ymax, &
        shade_min, shade_max, &
        sh_cmap, sh_color, sh_width, &
        min_color, min_width, max_color, max_width, tr)

      implicit none
      character(len=*) defined
      integer sh_cmap
      integer min_color, max_color
      real(kind=plflt) sh_width, min_width, max_width
      real(kind=plflt) shade_min, shade_max, sh_color
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax
      real(kind=plflt) tr(6)

      s1 = transfer( string1, s1 )
      call plshade7(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        shade_min, shade_max, &
        sh_cmap, sh_color, sh_width, &
        min_color, min_width, max_color, max_width, tr, size(z,1))

      end subroutine

!***********************************************************************

      subroutine plshades_multiple_0(z, defined, &
        xmin, xmax, ymin, ymax, &
        clevel, fill_width, &
        cont_color, cont_width, rectangular)

      implicit none
      character defined*(*)
      integer cont_color
      logical, optional :: rectangular
      real(kind=plflt) fill_width, cont_width
      real(kind=plflt) clevel(:)
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax

      integer rect

!	call plstrf2c(dnam, string1)

      rect = 1
      if ( present(rectangular) ) then
          rect = merge( 1, 0, rectangular )
      endif

      s1 = transfer( string1, s1 )
      call plshades07(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        clevel, size(clevel), fill_width, &
        cont_color, cont_width, size(z,1), rect)

      end subroutine

!***********************************************************************

      subroutine plshades_multiple_1(z, defined, &
        xmin, xmax, ymin, ymax, &
        clevel, fill_width, &
        cont_color, cont_width, xg1, yg1)

      implicit none
      character defined*(*)
      integer cont_color
      real(kind=plflt) fill_width, cont_width
      real(kind=plflt) clevel(:)
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax, &
                       xg1(:), yg1(:)

      integer rect

!	call plstrf2c(dnam, string1)

      rect = 1

      s1 = transfer( string1, s1 )
      call plshades17(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        clevel, size(clevel), fill_width, &
        cont_color, cont_width, xg1, yg1, size(z,1), rect)

      end subroutine

!***********************************************************************

      subroutine plshades_multiple_1r(z, defined, &
        xmin, xmax, ymin, ymax, &
        clevel, fill_width, &
        cont_color, cont_width, rectangular, xg1, yg1)

      implicit none
      character defined*(*)
      integer cont_color
      logical rectangular
      real(kind=plflt) fill_width, cont_width
      real(kind=plflt) clevel(:)
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax, &
                       xg1(:), yg1(:)

      integer rect

!	call plstrf2c(dnam, string1)

      rect = merge( 1, 0, rectangular )

      s1 = transfer( string1, s1 )
      call plshades17(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        clevel, size(clevel), fill_width, &
        cont_color, cont_width, xg1, yg1, size(z,1), rect)

      end subroutine

!***********************************************************************

      subroutine plshades_multiple_2(z, defined, &
        xmin, xmax, ymin, ymax, &
        clevel, fill_width, &
        cont_color, cont_width, xg2, yg2)

      implicit none
      character defined*(*)
      integer cont_color
      real(kind=plflt)fill_width, cont_width
      real(kind=plflt) clevel(:)
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax, &
        xg2(:,:), yg2(:,:)

      integer rect

!	call plstrf2c(dnam, string1)

      rect = 0

      s1 = transfer( string1, s1 )
      call plshades27(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        clevel, size(clevel), fill_width, &
        cont_color, cont_width, xg2, yg2, size(z,1), rect)

      end subroutine

!***********************************************************************

      subroutine plshades_multiple_2r(z, defined, &
        xmin, xmax, ymin, ymax, &
        clevel, fill_width, &
        cont_color, cont_width, rectangular, xg2, yg2)

      implicit none
      character defined*(*)
      integer cont_color
      logical rectangular
      real(kind=plflt)fill_width, cont_width
      real(kind=plflt) clevel(:)
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax, &
        xg2(:,:), yg2(:,:)

      integer rect

      rect = merge( 1, 0, rectangular )

!	call plstrf2c(dnam, string1)

      s1 = transfer( string1, s1 )
      call plshades27(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        clevel, size(clevel), fill_width, &
        cont_color, cont_width, xg2, yg2, size(z,1))

      end subroutine

!***********************************************************************

      subroutine plshades_multiple_tr(z, defined, &
        xmin, xmax, ymin, ymax, &
        clevel, fill_width, &
        cont_color, cont_width, tr)

      implicit none
      character defined*(*)
      integer cont_color
      real(kind=plflt) fill_width, cont_width
      real(kind=plflt) clevel(:)
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax
      real(kind=plflt) tr(6)

      integer rect

!	call plstrf2c(dnam, string1)

      rect = 0

      s1 = transfer( string1, s1 )
      call plshades7(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        clevel, size(clevel), fill_width, &
        cont_color, cont_width, tr, size(z,1), rect)

      end subroutine

!***********************************************************************

      subroutine plshades_multiple_trr(z, defined, &
        xmin, xmax, ymin, ymax, &
        clevel, fill_width, &
        cont_color, cont_width, rectangular, tr)

      implicit none
      character defined*(*)
      integer cont_color
      logical rectangular
      real(kind=plflt) fill_width, cont_width
      real(kind=plflt) clevel(:)
      real(kind=plflt) z(:,:), xmin, xmax, ymin, ymax
      real(kind=plflt) tr(6)

      integer rect

!	call plstrf2c(dnam, string1)

      rect = merge(1, 0, rectangular)

      s1 = transfer( string1, s1 )
      call plshades7(z, size(z,1), size(z,2), s1, &
        xmin, xmax, ymin, ymax, &
        clevel, size(clevel), fill_width, &
        cont_color, cont_width, tr, size(z,1), rect)

      end subroutine

!***********************************************************************

      subroutine plimagefr_0(z,xmin,xmax,ymin,ymax,zmin,zmax, &
           valuemin,valuemax)

      implicit none
      real(kind=plflt) z(:,:)
      real(kind=plflt) xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax

      call plimagefr07(z,size(z,1),size(z,2),xmin,xmax,ymin,ymax,zmin,zmax, &
          valuemin,valuemax,size(z,1))

      end subroutine

!***********************************************************************

      subroutine plimagefr_1(z,xmin,xmax,ymin,ymax,zmin,zmax, &
           valuemin,valuemax,xg,yg)

      implicit none
      real(kind=plflt) z(:,:), xg(:), yg(:)
      real(kind=plflt) xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax

      call plimagefr17(z,size(z,1),size(z,2),xmin,xmax,ymin,ymax,zmin,zmax, &
          valuemin,valuemax,xg,yg,size(z,1))

      end subroutine

!***********************************************************************

      subroutine plimagefr_2(z,xmin,xmax,ymin,ymax,zmin,zmax, &
           valuemin,valuemax,xg,yg)

      implicit none
      real(kind=plflt) z(:,:), xg(:,:), yg(:,:)
      real(kind=plflt) xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax

      call plimagefr27(z,size(z,1),size(z,2),xmin,xmax,ymin,ymax,zmin,zmax, &
          valuemin,valuemax,xg,yg,size(z,1))

      end subroutine

!***********************************************************************

      subroutine plimagefr_tr(z,xmin,xmax,ymin,ymax,zmin,zmax, &
           valuemin,valuemax,tr)

      implicit none
      real(kind=plflt) z(:,:)
      real(kind=plflt) xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax
      real(kind=plflt) tr(6)

      call plimagefr7(z,size(z,1),size(z,2),xmin,xmax,ymin,ymax,zmin,zmax, &
           valuemin,valuemax,tr,size(z,1))

      end  subroutine

!***********************************************************************

      subroutine pllab(xlab,ylab,title)

      implicit none
      character*(*) xlab,ylab,title

      call plstrf2c(xlab, string1)
      call plstrf2c(ylab, string2)
      call plstrf2c(title, string3)

      s1 = transfer( string1, s1 )
      s2 = transfer( string2, s2 )
      s3 = transfer( string3, s3 )
      call pllab7(s1,s2,s3)

      end subroutine

!***********************************************************************

      subroutine plspal0(filename)

      implicit none
      character*(*) filename

      call plstrf2c(filename, string1)

      s1 = transfer( string1, s1 )
      call plspal07(s1)

      end subroutine

!***********************************************************************

      subroutine plspal1(filename,interpolate)

      implicit none
      character*(*) filename
      integer interpolate

      call plstrf2c(filename, string1)

      s1 = transfer( string1, s1 )
      call plspal17(s1,interpolate)

      end subroutine

!***********************************************************************

      subroutine plmtex(side,disp,pos,xjust,text)

      implicit none
      real(kind=plflt) disp, pos, xjust
      character*(*) side, text

      call plstrf2c(side, string1)
      call plstrf2c(text, string2)

      s1 = transfer( string1, s1 )
      s2 = transfer( string2, s2 )
      call plmtex7(s1,disp,pos,xjust,s2)

      end subroutine

!***********************************************************************

      subroutine plmtex3(side,disp,pos,xjust,text)

      implicit none
      real(kind=plflt) disp, pos, xjust
      character*(*) side, text

      call plstrf2c(side, string1)
      call plstrf2c(text, string2)

      s1 = transfer( string1, s1 )
      s2 = transfer( string2, s2 )
      call plmtex37(s1,disp,pos,xjust,s2)

      end subroutine

!***********************************************************************

      subroutine plptex(x,y,dx,dy,xjust,text)

      implicit none
      real(kind=plflt) x, y, dx, dy, xjust
      character*(*) text

      call plstrf2c(text, string1)

      s1 = transfer( string1, s1 )
      call plptex7(x,y,dx,dy,xjust,s1)

      end subroutine

!***********************************************************************

      subroutine plptex3(x,y,z,dx,dy,dz,sx,sy,sz,xjust,text)

      implicit none
      real(kind=plflt) x, y, z, dx, dy, dz, sx, sy, sz, xjust
      character*(*) text

      call plstrf2c(text, string1)

      s1 = transfer( string1, s1 )
      call plptex37(x,y,z,dx,dy,dz,sx,sy,sz,xjust,s1)

      end subroutine

!***********************************************************************

      subroutine plstart(devname, nx, ny)

      implicit none
      character*(*) devname
      integer nx, ny

      call plstrf2c(devname, string1)

      s1 = transfer( string1, s1 )
      call plstart7(s1, nx, ny)

      end subroutine

!***********************************************************************

      subroutine pltimefmt(fmt)

      implicit none
      character*(*) fmt

      call plstrf2c(fmt, string1)
      s1 = transfer( string1, s1 )
      call pltimefmt7(s1)

      end subroutine

!***********************************************************************