Skip to main content
Ctrl+K
Logo image
  • Installation
  • Getting Started
    • Input Formats
    • Configuration Settings
    • Selecting a Model
    • Selecting an Algorithm
    • Prior Examples
  • Results and Post-Processing
    • Convergence Metrics
    • Outputs
      • Stellar Population Outputs
      • Dust Model Outputs
      • X-ray Model Outputs
      • AGN Model Outputs
      • Convergence Metrics and Goodness of Fit Outputs
  • Examples
    • Basic Properties and Star Formation History for NGC 337
    • Spatially Resolved Map of M81
    • X-ray AGN Emission of J033226
    • Stellar X-ray Emission in the Edge-on Galaxy NGC 4631
    • SED Fitting Code Comparison with NGC 628
    • X-ray AGN SED Fitting Code Comparison
  • Filter Profiles
  • Frequently Asked Questions
  • API Reference
    • LIGHTNING
    • Configuration
      • LIGHTNING_CONFIGURE_CHECK
      • LIGHTNING_CONFIGURE_DEFAULTS
      • LIGHTNING_CONFIGURE_INTERACTIVE
      • PRIOR_CHECK
      • PRIOR_INTERACTIVE
      • TABULATED_PRIOR_CHECK
    • Filters
      • ADD_FILTERS
      • GET_FILTERS
    • Fitting
      • LIGHTNING_FIT
      • Algorithms
        • MCMC
        • MPFIT
      • Priors
        • GENERATE_PRIOR_STRUCT
        • LIGHTNING_PRIORS
        • PRIOR_SAMPLED_INITIALIZATION
    • Input
      • ASCII_INPUT_TO_FITS
      • LIGHTNING_INPUT
      • LIGHTNING_XRAY_INPUT
    • Miscellaneous
      • LIGHTNING_CONSTANTS
      • LIGHTNING_PRINT_PROGRESS
      • MRANDOMN
      • PERCENTILE
      • PRINT_TO_WIDTH
      • TRAP_INT
      • TRAPEX
      • TRAPEZ
      • TRAPOW
    • Models
      • LIGHTNING_MODEL_COUNTS
      • LIGHTNING_MODEL_LNPROB
      • LIGHTNING_MODEL_LNU
      • LIGHTNING_MODEL_LNU_HIGHRES
      • LIGHTNING_MODEL_LNUXRAY
      • LIGHTNING_MODEL_LNUXRAY_HIGHRES
      • LIGHTNING_MODELS
      • AGN
        • SKIRTOR_MODELS
        • SKIRTOR_SED
        • SKIRTOR_SPECTRUM
      • Attenuation
        • Calzetti+00
        • Doore+21
      • Dust
        • DL07_FPDR
        • DL07_MODELS
        • DL07_SED
        • DL07_SPECTRUM
      • Stellar
        • BINNED_STELLAR_MODELS
        • BINNED_STELLAR_SED
        • BINNED_STELLAR_SPECTRUM
      • X-ray
        • L2KEV_J07
        • L2KEV_LR17
        • GILBERTSON22_LX_TAU
        • INTERPOLATE_ARF
        • LOAD_XRAY_ABS
        • XRAY_PLAW_EXPCUT
        • XRB_XAGN_MODELS
        • qsosed
    • Post-processing
      • LIGHTNING_POSTPROCESSING
      • PPC
  • .rst

PRINT_TO_WIDTH

Contents

  • Name
  • Purpose
  • Calling Sequence
  • Input
  • Output
  • Modification History

PRINT_TO_WIDTH#

Name#

PRINT_TO_WIDTH

Purpose#

Prints text to the terminal or IDL workbench. Strings that are longer than the width of the window will be wrapped to the next line without splitting words. This is different from IDL’s print procedure, which will split words.

Calling Sequence#

print_to_width, str

Input#

strstring scalar

The string that is to be printed.

Output#

The input string is printed to the screen, without splitting words.

Modification History#

  • 2022/05/12: Created (Keith Doore)

previous

PERCENTILE

next

TRAP_INT

Contents
  • Name
  • Purpose
  • Calling Sequence
  • Input
  • Output
  • Modification History

By Keith J. Doore, Rafael T. Eufrasio, and Erik B. Monson

© Copyright 2022, Keith J. Doore, Rafael T. Eufrasio, and Erik B. Monson.