⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plotexscal.c

📁 speech signal process tools
💻 C
字号:
/*----------------------------------------------------------------------+|									||   This material contains proprietary software of Entropic Speech,	||   Inc.  Any reproduction, distribution, or publication without the	||   prior written permission of Entropic Speech, Inc. is strictly	||   prohibited.  Any public distribution of copies of this work		||   authorized in writing by Entropic Speech, Inc. must bear the	||   notice								||									|| "Copyright (c) 1986, 1987 Entropic Speech, Inc. All rights reserved."	||									|+-----------------------------------------------------------------------+|									||  plotexscale -- find exact numbers for plot boundaries.		||									||  John Shore, Entropic Speech, Inc.					||       A complete hack based on plotscale.				||									|+----------------------------------------------------------------------*/#ifndef lint    static char *sccs_id = "@(#)plotexscal.c	3.1	10/20/87	ESI";#endif#include <stdio.h>voidplotexscale(vmin, vmax, mindif, p_vmin, p_vmax, p_vtick, p_ndp)    double  vmin, vmax, mindif, *p_vmin, *p_vmax, *p_vtick;    int     *p_ndp;{    double  diff = vmax - vmin;    int     nticks = 4;    if (diff < 0.0) diff = mindif;    *p_vmin = vmin;    *p_vmax = vmax;    *p_vtick = diff / nticks;    *p_ndp = 0;    return;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -