The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
I am trying to run a standard "proc sgplot" from code that works in SAS but its not working in WPS. Am I missing something to get sgplot to work?
Hi Ilana,
Sorry for the late reply.
You should be able to use PROC SGPLOT so this problem may need further analysis.
We would be happy to review your code or log output and see if we can see why it's not working for you.
You can email dasupport@altair.com or post here.
Best Regards,
Nico
Hi Illana,
Using the SASHELP.CARS dataset, which is not shipped with WPS, you should be able to run PROC SGPLOT using the sample below. Also notice how WPS has a SAS7DBAT engine on the LIBNAME Statement.
%let win_path = c:\users\rbetancourt\desktop\ODS_Examples\data_output;
%let xl_file = graph_and_table.xlsx;
%let libref = c:\users\rbetancourt\desktop\ODS_examples\data_input;
libname cars sas7bdat "&libref";
ods excel file = "&win_path\&xl_file"
options(sheet_interval = "proc"
sheet_name = "cars_means");
/* tabular output */
<strong>proc</strong> <strong>means</strong> data = cars.cars;
var mpg_City mpg_Highway;
<strong>run</strong>;
/* add a graph */
ods graphics on / height = 4in width = 6in noborder;
ods excel options(sheet_interval = "proc"
sheet_name = "cars_sgplot");
title "Histogram for MPG";
<strong>proc</strong> <strong>sgplot</strong> data = cars.cars;
histogram mpg_City;
ods excel close;
Join us for a community conversation on Pulse Width Modulation (PWM), a fundamental technique in electric motor control, and explore how different PWM strategies can yield significantly different results. This webinar provides a comparative analysis of various PWM methods and their effects on motor efficiency, torque…
Join us for a community conversation to discover the Advanced Iterative Solver(AIS) in Simcenter Feko and its application to electrically large and computationally demanding electromagnetic models. The session will provide a general overview of how iterative solution methods can help improve efficiency of large scale…
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…