Bsoft 2.1.4
Bernard's software package
ps_views.cpp File Reference

Postscript output for views. More...

#include "ps_views.h"
#include "ps_plot.h"
#include "linked_list.h"
#include "utilities.h"

Functions

int ps_views (Bstring &filename, Bstring &symmetry_string, View *view, int flags)
 Generates postscript plot of views on the unit sphere. More...
 
int ps_views (ofstream *fps, Bstring &symmetry_string, View *view, int flags)
 
int ps_views2 (ofstream *fps, string &symmetry_string, list< View2< float > > &view, int flags)
 
int ps_views (Bstring &filename, View *view)
 Generates postscript plot of views projected as phi and theta. More...
 
int ps_views (ofstream *fps, View *view)
 Generates postscript plot of views projected as phi and theta. More...
 
int ps_sets_of_views (Bstring &filename, Bstring &title, int nv, View *views, int ns, double *fom)
 Postscript plot of the distribution of sets of views. More...
 
int ps_phi_theta_plot (ofstream *fps, int left, int bottom, int width, int height, int ncol)
 Generates postscript plot of projected phi and theta. More...
 

Variables

int verbose
 

Detailed Description

Postscript output for views.

Author
Bernard Heymann
Date
Created: 20011127
Modified: 20201125

Function Documentation

◆ ps_phi_theta_plot()

int ps_phi_theta_plot ( ofstream *  fps,
int  left,
int  bottom,
int  width,
int  height,
int  ncol 
)

Generates postscript plot of projected phi and theta.

Parameters
*fpspostscript file stream.
leftleft edge of plot.
bottombottom edge of plot.
widthwidth of plot.
heightheight of plot.
ncolnumber of columns in the Data table.
Returns
int 0.
The plotting options are determined by the flags argument:
    0 = plot views
    1 = plot numbered views
    2 = plot views with shading according to occurrence.
        The gray level indicates an estimated increase in signal-to-noise ratio.

◆ ps_sets_of_views()

int ps_sets_of_views ( Bstring filename,
Bstring title,
int  nv,
View views,
int  ns,
double *  fom 
)

Postscript plot of the distribution of sets of views.

Parameters
&filenameoutput postscript file name.
&titletitle.
nvnumber of views.
*viewslist of views.
nsnumber of sets.
*fomFOM values (nv*ns values).
Returns
int 0, error if <0.

◆ ps_views() [1/4]

int ps_views ( Bstring filename,
Bstring symmetry_string,
View view,
int  flags 
)

Generates postscript plot of views on the unit sphere.

Parameters
&filenameoutput postscript file name.
&symmetry_stringsymmetry string to print at the top of the page.
*viewlinked list of views.
flagsflags.
Returns
int 0.
The plotting options are determined by the flags argument:
    0 = plot views
    1 = plot numbered views
    2 = plot views with shading according to occurrence.
        The gray level indicates an estimated increase in signal-to-noise ratio.

◆ ps_views() [2/4]

int ps_views ( Bstring filename,
View view 
)

Generates postscript plot of views projected as phi and theta.

Parameters
&filenameoutput postscript file name.
*viewlinked list of views.
Returns
int 0.

◆ ps_views() [3/4]

int ps_views ( ofstream *  fps,
Bstring symmetry_string,
View view,
int  flags 
)

◆ ps_views() [4/4]

int ps_views ( ofstream *  fps,
View view 
)

Generates postscript plot of views projected as phi and theta.

Parameters
*fpsoutput postscript file stream.
*viewlinked list of views.
Returns
int 0.

◆ ps_views2()

int ps_views2 ( ofstream *  fps,
string &  symmetry_string,
list< View2< float > > &  view,
int  flags 
)

Variable Documentation

◆ verbose

int verbose
extern