?? plotexscale.c
字號:
/*--------------------------------------------------------------+| ENTROPIC PROCESSING, INC. || || This material contains proprietary software of Entropic || Processing, Inc. Any reproduction, distribution, or || publication without the the prior written permission of || Entropic Processing, Inc. is strictly prohibited. Any || public distribution of copies of this work authorized in || writing by Entropic Processing, Inc. must bear the notice || || "Copyright 1986 Entropic Processing, Inc." || |+---------------------------------------------------------------+| || plotscale -- find exact numbers for plot boundaries. || || John Shore, Entropic Processing, Inc. || A complete and ugly hack based on plotscale |+--------------------------------------------------------------*/#include <stdio.h>double pow (), log10 ();static char *sccs_id = "@(#)plotexscale.c 1.1 9/23/86 EPI";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, teno, div, adiff; int o, adj, nticks; if (diff < 0.0) diff = mindif; nticks = 4; div = teno / 2; div = diff / nticks; *p_vtick = div; *p_ndp = 0; return;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -